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
…ion modes can be configured (xabbuh)
This PR was merged into the 6.4 branch.
Discussion
----------
[FrameworkBundle] ensure that all supported e-mail validation modes can be configured
| Q | A
| ------------- | ---
| Branch? | 6.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues | Fix#60352
| License | MIT
this update was forgotten when adding the `html5-allow-no-tld` e-mail validation mode in #47872
Commits
-------
b8b3c37 ensure that all supported e-mail validation modes can be configured
Symfony version(s) affected
7.2.5
Description
According to the docs (https://symfony.com/doc/current/reference/configuration/framework.html#email-validation-mode), the default validation mode can be changed to one of the values supported by the email validator, which are (according to this page: https://symfony.com/doc/current/reference/constraints/Email.html#mode)
html5
,html5-allow-no-tld
,strict
.But when I try to change the default value to
html5-allow-no-tld
, I get a 500 error with this message:I think there is probably a mismatch between the values expected by the validator and the ones allowed by the framework config.
How to reproduce
Change the
framework.validation.email_validation_mode
config tohtml5-allow-no-tld
.Possible Solution
I believe this line might be the problem:
symfony/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php
Line 1021 in f6385e9
Additional Context
The text was updated successfully, but these errors were encountered: