Fixed regression, removing user info with Uri::withUserInfo('') is not clearing password anymore #2332
Conversation
…t clearing password anymore
|
Good catch. Can you provide a test too? |
|
@mahagr we need a test so we can merge this plz :) |
splitbrain
added a commit
to splitbrain-forks/Slim
that referenced
this pull request
Nov 23, 2017
Merged
|
Sorry, I've been super busy lately. Thanks @splitbrain for the test! |
akrabat
added a commit
to akrabat/Slim
that referenced
this pull request
Nov 25, 2017
danopz
added a commit
to danopz/Slim-Http
that referenced
this pull request
Nov 26, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Unfortunately, Slim 3.9 broke redirects with user authority as the password isn't cleared when
Uri::withUserInfo('')is called.Url:
user:password@domain.com/pathbecame:Location: //:password@/path.