email validation function evalEmail()
|Target version:||NethServer 6 - v6.7|
The email validation function uses several regex to filter emails.
Maybe we could use the native php function "filter_var" with the "FILTER_VALIDATE_EMAIL" filter? which is following the RFC 5322
It would answer to some needs , like the "+" char.
Attached, a suggestion of improvement to the function evalEmail()
http://www.rfc-editor.org/rfc/rfc5322.txt @ 3.4. Address Specification
#5 Updated by Davide Principi almost 3 years ago
- Status changed from NEW to CLOSED
- Target version set to v6.7
- % Done changed from 0 to 100
- Resolution set to REJECTED
Thanks for the patch Boris, we're going to implement your patch for NethServer 7. This issue is moved on