Skip to content

[Validator] Bring egulias/email-validator ~2.0 to parity with ~1.2 #20607

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

Merged
merged 1 commit into from
Nov 29, 2016
Merged

[Validator] Bring egulias/email-validator ~2.0 to parity with ~1.2 #20607

merged 1 commit into from
Nov 29, 2016

Conversation

Lctrs
Copy link
Contributor

@Lctrs Lctrs commented Nov 23, 2016

Q A
Branch? 3.2
Bug fix? could be ?
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets
License MIT
Doc PR

When using egulias/email-validator ~1.2, we make a strict check of the email, which means that emails with RFC warnings will fail validation.
Currently with egulias/email-validator ~2.0, emails with warnings are considerate valids.

This pull request make EmailValidator with egulias/email-validator ~2.0 behave as with egulias/email-validator ~1.2.

@Lctrs Lctrs changed the title [Validator] Bring egulias/email-validator ~1.2|~2.0 to parity [Validator] Bring egulias/email-validator ~2.0 to parity with ~1.2 Nov 23, 2016
@Lctrs
Copy link
Contributor Author

Lctrs commented Nov 28, 2016

Ping @xabbuh as you were the one who implemented it. WDYT ?

@xabbuh
Copy link
Member

xabbuh commented Nov 29, 2016

👍

Status: Reviewed

@nicolas-grekas
Copy link
Member

Thank you @Lctrs.

@nicolas-grekas nicolas-grekas merged commit 01b2f66 into symfony:3.2 Nov 29, 2016
nicolas-grekas added a commit that referenced this pull request Nov 29, 2016
…ith ~1.2 (Lctrs)

This PR was merged into the 3.2 branch.

Discussion
----------

[Validator] Bring egulias/email-validator ~2.0 to parity with ~1.2

| Q             | A
| ------------- | ---
| Branch?       | 3.2
| Bug fix?      | could be ?
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

When using egulias/email-validator ~1.2, we make a strict check of the email, which means that emails with RFC warnings will fail validation.
Currently with egulias/email-validator ~2.0, emails with warnings are considerate valids.

This pull request make EmailValidator with egulias/email-validator ~2.0 behave as with egulias/email-validator ~1.2.

Commits
-------

01b2f66 Switch to NoRFCWarningsValidation
@Lctrs Lctrs deleted the email-strict-validation branch November 29, 2016 14:01
@fabpot fabpot mentioned this pull request Nov 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants