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

Prevent panic when auth header is missing on image requests #3915

Merged
merged 3 commits into from
Aug 29, 2023

Conversation

Trombach
Copy link
Contributor

@Trombach Trombach commented Aug 27, 2023

This PR fixes #3908

The endpoints will now return Unauthorized instead of panicking if the auth header is missing from the request.

@dessalines dessalines enabled auto-merge (squash) August 29, 2023 22:51
@dessalines dessalines merged commit c93bde9 into LemmyNet:main Aug 29, 2023
@Trombach Trombach deleted the prevent-crash-icon-private branch August 30, 2023 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Adding a site icon to private instances crashes lemmy after restart
3 participants