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

[3.4][Validator] Allow underscore character "_" in URL username and password#34832

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

Merged
fabpot merged 1 commit intosymfony:3.4fromromainneutron:3.4-validator-url
Dec 5, 2019

Conversation

romainneutron
Copy link
Contributor

QA
Branch?3.4
Bug fix?yes
New feature?no
Deprecations?no
LicenseMIT

Hello!

It's been a long time since my last push on Symfony :)
Here's a bug fix. I think URL usernames and password may contain an underscore. Let me know!

Copy link
Member

@javiereguiluzjaviereguiluz left a comment
edited
Loading

Choose a reason for hiding this comment

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

In thehttps://tools.ietf.org/html/rfc1738 they don't say anything about not allowing this.

Thus, only alphanumerics and the special characters "$-_.+!*'()," maybe used unencoded within a URL.[...]Within the user and password field, any ":", "@", or "/" must be encoded.

So, using_ looks like it's allowed in both the user and password.

Thanks Romain!

romainneutron reacted with hooray emoji
@fabpot
Copy link
Member

Thank you@romainneutron.

fabpot added a commit that referenced this pull requestDec 5, 2019
…rname and password (romainneutron)This PR was merged into the 3.4 branch.Discussion----------[3.4][Validator] Allow underscore character "_" in URL username and password| Q             | A| ------------- | ---| Branch?       | 3.4| Bug fix?      | yes| New feature?  | no| Deprecations? | no| License       | MITHello!It's been a long time since my last push on Symfony :)Here's a bug fix. I think URL usernames and password may contain an underscore. Let me know!Commits-------869518b [Validator] Allow underscore character "_" in URL username and password
@fabpotfabpot merged commit869518b intosymfony:3.4Dec 5, 2019
@romainneutronromainneutron deleted the 3.4-validator-url branchDecember 5, 2019 20:51
This was referencedDec 19, 2019
This was referencedJan 21, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@fabpotfabpotfabpot approved these changes

@javiereguiluzjaviereguiluzjaviereguiluz approved these changes

@nicolas-grekasnicolas-grekasnicolas-grekas 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.

6 participants
@romainneutron@fabpot@javiereguiluz@nicolas-grekas@xabbuh@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp