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

Throws a 500 instead of a 400 or 401 for invalid basic auth value #1

Open
Foxcapades opened this issue Oct 27, 2020 · 0 comments
Open
Labels
bug Something isn't working

Comments

@Foxcapades
Copy link
Member

If the Authorization: Basic <s> <s> value is not a valid base64 encoded string, an IllegalArgumentException will be thrown and will be translated to a 500. This should be caught and converted into a 400 error.

@Foxcapades Foxcapades added the bug Something isn't working label Oct 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant