-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Encode user info #2327
Encode user info #2327
Conversation
If the username or password includes an `@`, `:` or other reserved characters, they need to be encoded. Fixes #2201
If the username or password includes an `@` or `:` or other reserved characters, they need to be encoded. Forward ports slimphp/Slim#2327.
If the username or password includes an `@` or `:` or other reserved characters, they need to be encoded. Fixes slimphp#34 Forward ports slimphp/Slim#2327.
Just a note: |
@mahagr Now that is a very good question :) I think that they should all have |
Also another thing... Should |
And from your example: hostname isn't filtered either... |
Yes - I would appreciate a PR :) |
Re hostname: is there any reason to filter it? |
You can use Uri class outside of request to build a new URL to be shown your page. |
If the username or password includes an
@
,:
or other reservedcharacters, they need to be encoded.
Fixes #2201