Issue Bug Closed

#94052Email validation in GeneralUtility

Henrik Jensen 05/04/21, 12:06 updated 08/02/21, 09:25

Description

The function validEmail in

‪TYPO3\CMS\Core\Utility\GeneralUtility::validEmail($email)

returns valid for (tested in version 8 and 9)

hdj@½typoconsult.dk
hdj@typoconsult.dk½
hdj@§typoconsult.dk
hdj@typoconsult.dk§

Domain names may be a maximum of 253 characters and consist of:
Uppercase and lowercase letters in English (A-Z, a-z)
Digits from 0 to 9
A hyphen (-)
A period (.) (used to identify a sub-domain; for example, email.domainsample)

I know its a minor issue but it would be nice to get ironed out of core.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.