Lukas W.
Well-known member
- Affected version
- 2.0.4
It appears that the custom field e-mail (and probably all e-mail) validation fails to correctly identify some e-mail address schemes.
Following RFC2822:
All browser checks have been performed in Google Chrome.
Theoretically, e-mails with invalid top level domains should also fail, but with all the new top level domains, this is agreeably a quite useless or expensive thing to verify.
I'm aware that I've chosen some pretty extreme edge cases here, but they keep the number of examples down, so that's why I chose them.
It might also be worth noting that this error isn't exactly helpful for an end-user:
Maybe it could be a little more specified, if possible.
Following RFC2822:
"email"@domain.com
should be valid, but passes neither browser-check nor XF check.wa'sd@test.com
should be valid, passes browser-check but does not pass XF check."()<>[]:,;@\\\"!#$%&'-/=?^_`{}| ~.a"@example.org
should be valid, but passes neither browser-check, nor XF checkvery.unusual.“@”.unusual.com@example.com
should be valid, but passes neither browser-check, nor XF checkemail@111.222.333.44444
should be invalid, but passes browser-check and XF checkemail@-domain.com
should be invalid, does not pass browser-check, but does pass XF checkemail@domain
should be invalid, but passes browser and XF checkAll browser checks have been performed in Google Chrome.
Theoretically, e-mails with invalid top level domains should also fail, but with all the new top level domains, this is agreeably a quite useless or expensive thing to verify.
I'm aware that I've chosen some pretty extreme edge cases here, but they keep the number of examples down, so that's why I chose them.
It might also be worth noting that this error isn't exactly helpful for an end-user:
Maybe it could be a little more specified, if possible.