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

[stable3.7] fix: change status code from 404 to 204 for missing avatars #10699

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/stable3.7 branch from a7b4fab to d9f856c Compare February 20, 2025 11:22
@kesselb kesselb merged commit ed087d6 into stable3.7 Feb 20, 2025
33 checks passed
@kesselb kesselb deleted the backport/10694/stable3.7 branch February 20, 2025 11:49
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