Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Validator] Allow URL-encoded special characters in basic auth part of URLs#36286

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

@cweiske
Copy link
Contributor

QA
Branch?5.0
Bug fix?yes
New feature?no
Deprecations?no
TicketsFix#36285
LicenseMIT

Special characters in HTTP Basic Auth passwords in an URL need to be url-encoded.

Example:foo@bar becomesfoo%40bar, in an URL:http://user:foo%40bar@example.org

The UrlValidator did not allow percent signs in username and password, and this is changed now.

cweiske added a commit to mogic-le/framework that referenced this pull requestMar 31, 2020
Special characters in HTTP Basic Auth passwords in an URL need to be url-encoded.Example: foo@bar becomes foo%40bar, in an URL: http://user:foo%40bar@example.orgThe UrlValidator did not allow percent signs in username and password, and this is changed now.Related bugreport and fix for symfony:-symfony/symfony#36285-symfony/symfony#36286
Copy link
Member

@nicolas-grekasnicolas-grekas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

(for 3.4)

@nicolas-grekasnicolas-grekas added this to the3.4 milestoneMar 31, 2020
@nicolas-grekasnicolas-grekas changed the titleAllow URL-encoded special characters in basic auth part of URLs[Validator] Allow URL-encoded special characters in basic auth part of URLsMar 31, 2020
@fabpot
Copy link
Member

Thank you@cweiske.

fabpot added a commit that referenced this pull requestApr 4, 2020
…auth part of URLs (cweiske)This PR was submitted for the master branch but it was merged into the 3.4 branch instead.Discussion----------[Validator] Allow URL-encoded special characters in basic auth part of URLs| Q             | A| ------------- | ---| Branch?       | 5.0| Bug fix?      | yes| New feature?  | no| Deprecations? | no| Tickets       |Fix#36285| License       | MITSpecial characters in HTTP Basic Auth passwords in an URL need to be url-encoded.Example: `foo@bar` becomes `foo%40bar`, in an URL: `http://user:foo%40bar@example.org`The UrlValidator did not allow percent signs in username and password, and this is changed now.Commits-------8a56c50 Allow URL-encoded special characters in basic auth part of URLs
@fabpotfabpot closed thisApr 4, 2020
This was referencedApr 28, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

@stofstofstof approved these changes

@xabbuhxabbuhxabbuh approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

3.4

Development

Successfully merging this pull request may close these issues.

UrlValidator does not allow basic auth with encoded special characters

6 participants

@cweiske@fabpot@nicolas-grekas@stof@xabbuh@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp