builtin.Authenticate
panics if the Authorization header is missing or empty
#619
Labels
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
kind/bug
Categorizes issue or PR as related to a bug.
priority/normal
Higher priority than priority/minor. Nice to have.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
Milestone
If the Authorization header is missing or the string after replacement is nothing but whitespace, then
strings.Fields
will return an empty slice, and the attempt to index into it will panic. This should be fixed to return an auth failure.The text was updated successfully, but these errors were encountered: