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] Email - newallow-no-tld mode#17360

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

@guillemfondin
Copy link
Contributor

SeeRelated feature PR

As suggestedhere ; the actual description ofhtml5 mode isn't consistent with the one provided by browsers. Browsers allow no tld,html5 mode not.

I proprose to move the actual description ofhtml5 mode to the newallow-no-tld mode description, and clarify the subtlety (force .tld) of the actualhtml5 mode.

@carsonbotcarsonbot added this to the6.2 milestoneOct 17, 2022
@OskarStarkOskarStark added the Waiting Code MergeDocs for features pending to be merged labelOct 17, 2022
@carsonbotcarsonbot modified the milestones:6.2,nextOct 17, 2022
fabpot added a commit to symfony/symfony that referenced this pull requestOct 20, 2022
…w3c official specification (guillemfondin)This PR was squashed before being merged into the 6.2 branch.Discussion----------[Validator] new email validation option to match with w3c official specification| Q             | A| ------------- | ---| Branch?       | 6.2| Bug fix?      | no| New feature?  | yes| Deprecations? | no| Tickets       |Fix#47712| License       | MIT| Doc PR        |symfony/symfony-docs#17360## WHATEmail validator no matches with w3c official specication (that allow no tld) see#47712 for details.## WHYIn general, for public common usage, developers may not need to give users this liberty.Except for specific use case, (internal email for eg) in companies...## HOWAdd an option for accept tld (already exist `Email::VALIDATION_MODE_HTML5`) or not (official spec `Email::VALIDATION_MODE_HTML5_ALLOW_NO_TLD`)Commits-------23047d9 [Validator] new email validation option to match with w3c official specification
symfony-splitter pushed a commit to symfony/validator that referenced this pull requestOct 20, 2022
…w3c official specification (guillemfondin)This PR was squashed before being merged into the 6.2 branch.Discussion----------[Validator] new email validation option to match with w3c official specification| Q             | A| ------------- | ---| Branch?       | 6.2| Bug fix?      | no| New feature?  | yes| Deprecations? | no| Tickets       | Fix #47712| License       | MIT| Doc PR        |symfony/symfony-docs#17360## WHATEmail validator no matches with w3c official specication (that allow no tld) see #47712 for details.## WHYIn general, for public common usage, developers may not need to give users this liberty.Except for specific use case, (internal email for eg) in companies...## HOWAdd an option for accept tld (already exist `Email::VALIDATION_MODE_HTML5`) or not (official spec `Email::VALIDATION_MODE_HTML5_ALLOW_NO_TLD`)Commits-------23047d978f [Validator] new email validation option to match with w3c official specification
@xabbuhxabbuh modified the milestones:next,6.2Oct 20, 2022
@xabbuhxabbuh removed the Waiting Code MergeDocs for features pending to be merged labelOct 20, 2022
Copy link
Member

@wouterjwouterj left a comment

Choose a reason for hiding this comment

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

Thanks!

We should also add a.. versionadded:: 6.2 block after the list to indicate that this mode was introduced in 6.2.

guillemfondin reacted with thumbs up emoji
@wouterjwouterjforce-pushed thefeature/new-standard-email-validation branch from0bda552 to485d57eCompareOctober 23, 2022 13:39
@wouterj
Copy link
Member

Thank you for documenting your code contribution,@guillemfondin!

guillemfondin reacted with thumbs up emoji

@wouterjwouterj merged commit6087ab6 intosymfony:6.2Oct 23, 2022
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@wouterjwouterjwouterj approved these changes

@xabbuhxabbuhAwaiting requested review from xabbuhxabbuh is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

6.2

Development

Successfully merging this pull request may close these issues.

5 participants

@guillemfondin@wouterj@OskarStark@xabbuh@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp