-
Notifications
You must be signed in to change notification settings - Fork 12
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
HTTP "authorization" header not accepted (case-sensitive) #34
Comments
@snarfed: Should I adjust |
The |
true! the bug is probably just that the |
No, because it also does a ucwords(), but maybe a function name collision? Not the most unique of function names that one
|
here in my local installation, the micropub-provided getallheaders is not used. So while the mp-provided getallheaders |
Ah. PHP itself defines it. http://php.net/getallheaders |
So lowercasing the result of this function is the correct way. |
HTTP headers are meant to be processed case-insensitive, but the code only accepts
Authorization
(word case) and notauthorization
(lowercase).HTTP 1.1 RFC 2616 section 4.2 says:
The text was updated successfully, but these errors were encountered: