Actions
Bug #60771
closedEmail addresses not validated against RFC 6531
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Miscellaneous
Target version:
-
Start date:
2014-08-04
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
The validation in GeneralUtility::validEmail
does not comply with RFC 6531.
Since PHP's filter_var
+ FILTER_VALIDATE_EMAIL
doesn't either, we need to convert the user/local part to Punycode, too.
Updated by Frank Nägler about 10 years ago
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.
Updated by Mathias Brodala about 10 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.
Updated by Mathias Schreiber about 9 years ago
- Target version deleted (
next-patchlevel)
Updated by Christian Kuhn over 7 years ago
- Status changed from New to Closed
i guess we can live with the current implementation now.
Actions