Project

General

Profile

Actions

Bug #94052

closed

Email validation in GeneralUtility

Added by Henrik Jensen over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Miscellaneous
Start date:
2021-05-04
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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
§

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.

Actions

Also available in: Atom PDF