Enhancement #3209
email validation function evalEmail()
Status: | CLOSED | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | - | |||
Target version: | NethServer 6 - v6.7 | |||
Resolution: | REJECTED | NEEDINFO: | No |
Description
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
Related issues
History
#1 Updated by Boris DE ANDRADE about 6 years ago
- File patch_Validator.php.patch added
#2 Updated by Boris DE ANDRADE about 6 years ago
- File deleted (
patch_Validator.php.patch)
#4 Updated by Giacomo Sanchietti almost 6 years ago
- Target version deleted (
v6.6)
#5 Updated by Davide Principi about 5 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
#6 Updated by Davide Principi almost 5 years ago
- Related to Enhancement #2673: Permit special character into pseudonym added