Project

General

Profile

Actions

Bug #60771

closed

Email addresses not validated against RFC 6531

Added by Mathias Brodala over 9 years ago. Updated almost 7 years ago.

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.

Actions #1

Updated by Frank Nägler over 9 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.

Actions #2

Updated by Mathias Brodala over 9 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.

Actions #3

Updated by Mathias Schreiber over 8 years ago

  • Target version deleted (next-patchlevel)
Actions #4

Updated by Christian Kuhn almost 7 years ago

  • Status changed from New to Closed

i guess we can live with the current implementation now.

Actions

Also available in: Atom PDF