Email addresses not validated against RFC 6531
The validation in
GeneralUtility::validEmail does not comply with RFC 6531.
FILTER_VALIDATE_EMAIL doesn't either, we need to convert the user/local part to Punycode, too.
#2 Updated by Mathias Brodala about 6 years ago
Frank Nägler wrote:
that will be a big task. The RFC 6531 is so complex. I think a RegExp which will validate to the RFC 6531 is impossible to write.
My preferred RegEx is this one: ".+@.+". ;-) But I've already suggested conversion to Punycode, there's no need to change a Regex anywhere.