Skip to content

[stable4.2] fix: change status code from 404 to 204 for missing avatars#10697

Merged
kesselb merged 1 commit intostable4.2from
backport/10694/stable4.2
Feb 18, 2025
Merged

[stable4.2] fix: change status code from 404 to 204 for missing avatars#10697
kesselb merged 1 commit intostable4.2from
backport/10694/stable4.2

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented Feb 14, 2025

Backport of PR #10694

Switching the response code from 404 to 204 improves compatibility with security appliances like CrowdSec.
Since avatar lookups (including external sources) can validly result in a non-existing avatar.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
@kesselb kesselb merged commit 447118e into stable4.2 Feb 18, 2025
28 of 35 checks passed
@kesselb kesselb deleted the backport/10694/stable4.2 branch February 18, 2025 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant