-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
The request object handles auth headers incorrectly #12480
Comments
Fixed in the |
I'm still encountering this issue in 3.3.1. Essentially |
@quickshiftin Did you see tests at tests/unit/Http/Request/AuthHeaderTest.php |
@sergeyklay I'm looking at it now, and your patch from I'm using JWT, so my
I see some logic in there to handle |
Expected and Actual Behavior
I would like to see correct Authorization Headers in case of use such types of authorization:
Minimal script to reproduce the issue:
Setup
Test 1
Actual
Expected
Test 2
Actual
Expected
Test 3
Actual
Expected
Test 4
Actual
Expected
And yes, as described in RFC 7230 - "Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing", Section 3.2, "Header Fields":
we can safely return either
Php-Auth-User
, orPHP-AUTH-USER
, orphp-auth-user
.Details
The text was updated successfully, but these errors were encountered: