You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
When entering foo..bar@example.com into a form field with @Assert\Email(), this is considered valid.
However, new Address('foo..bar@example.com'); results in the RfcComplianceException:
I know that email validation is a difficult topic ;-) But it cannot (or rather should not) be that one part of Symfony is accepting something, and another part is refusing it.
So I'm suggesting:
Add the same pattern that Address() is using as mode for Assert\Email.