Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Feb 20, 2025

Conversation

backportbot[bot]
Copy link

@backportbot backportbot bot commented Feb 14, 2025

Backport of PR #10694

Copy link
Contributor

@kesselb kesselb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking

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 <[email protected]>
@kesselb kesselb force-pushed the backport/10694/stable4.1 branch from 937ea28 to 2f614cb Compare February 20, 2025 11:21
@kesselb kesselb merged commit 12bafc1 into stable4.1 Feb 20, 2025
28 of 35 checks passed
@kesselb kesselb deleted the backport/10694/stable4.1 branch February 20, 2025 11:25
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