-
Task
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
3 - For the record
-
2 - Normal
In RUNTIME-2741 many regex were removed to use SendMailHelper.EMAIL_VALIDATION
But instead of modifying the code where the regex is called, the constants were modified to use SendMailHelper.EMAIL_VALIDATION
Exemple in org.ametys.plugins.newsletter.subscribe.SubscribersClientSideElement
private static final Pattern __EMAIL_VALIDATOR = SendMailHelper.EMAIL_VALIDATION;
All the values modified like this should be removed and the SendMailHelper.EMAIL_VALIDATION should be called directly.
- Référence
-
RUNTIME-2741 e-mail validation is not centralized, and wrong
- Closed