-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Validator] UTF-8 email address validation #59756
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
Comments
I know this is already closed, but I reproduced the issue as we are using Symfony Using With Using the deprecated |
The HTML5 mode should keep following the HTML spec IMO (otherwise, it would be confusing). See whatwg/html#4562 for the issue about this in the HTML spec. Please try it in strict mode. |
@stof That's correct. After adding the other validator ( |
Symfony version(s) affected
7
Description
Hi,
We recently disabled the builtin
Email
constraint on a SF7 project, due to an utf8 email address which came from an external party. The failing request (422) lead to another issue on our side.For a larger project im a bit more worried :)
How to reproduce
to me this is somewhat a BC break: https://3v4l.org/11W3S (respectively sf6 vs sf7)
Possible Solution
Im wondering if
loose
mode should be restored for "simple" backend (re-)validation. HTML5 validation by default is OK.Additional Context
No response
The text was updated successfully, but these errors were encountered: