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

Case sensitivity of authorization header #19

Open
brettw1234 opened this issue Mar 6, 2018 · 1 comment
Open

Case sensitivity of authorization header #19

brettw1234 opened this issue Mar 6, 2018 · 1 comment
Labels

Comments

@brettw1234
Copy link

Our request is failing the validate step because our authorization header is in title case. It looks like the validate function is looking for that header in all lower case - req.original.headers['authorization'].

According to the http spec, header names are case-insensitive. Can the validate function be updated to ignore case?

@cmawhorter cmawhorter added the bug label Apr 9, 2018
@cmawhorter
Copy link
Owner

i have a rewrite partially complete that addresses this error too. PR welcome here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants