Bug #101776
closedGeneralUtility::validEmail() returns not corect Value if spaces in the emailstring
Added by Heiko Dietrich 12 months ago. Updated about 1 month ago.
100%
Description
For Example GeneralUtility::validEmail('test @testmail.com') return true, but is not e correct email! There are one space in the emailstring
Updated by Heiko Dietrich 12 months ago
For Example
GeneralUtility::validEmail('test @testmail.com');
return true, but is not a correct email! There are one space in the emailstring
Updated by Heiko Dietrich 12 months ago
The error seems to occur only with spaces before the @-character:
GeneralUtility::validEmail() return true for:
test @testmail.com
but GeneralUtility::validEmail() return false for:
test@ testmail.com
test@test mail.com
te st@testmail.com
Updated by Gerrit Code Review 12 months ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80748
Updated by Gerrit Code Review 12 months ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80748
Updated by Heiko Dietrich 12 months ago
Please also look at this site and consider the infos:
https://ladedu.com/can-an-email-address-have-a-space-whitespace/
"ex\ ample\ "@ladedu.com
on site is writing this is a correct email!!!
Updated by Gerrit Code Review 12 months ago
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80748
Updated by Heiko Dietrich 12 months ago
Is possible to use php-function filter_var?
$email = '"yes\ spaces\ are\ fine"@example.org';
$ret = filter_var($email, FILTER_VALIDATE_EMAIL);
Updated by Gerrit Code Review 12 months ago
Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80748
Updated by Gerrit Code Review 12 months ago
Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80748
Updated by Gerrit Code Review 12 months ago
Patch set 6 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80748
Updated by Gerrit Code Review 11 months ago
Patch set 7 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80748
Updated by Gerrit Code Review 11 months ago
Patch set 8 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80748
Updated by Gerrit Code Review 11 months ago
Patch set 9 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80748
Updated by Gerrit Code Review 11 months ago
Patch set 10 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80748
Updated by Gerrit Code Review 11 months ago
Patch set 11 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80748
Updated by Gerrit Code Review 11 months ago
Patch set 12 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80748
Updated by Gerrit Code Review 11 months ago
Patch set 13 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80748
Updated by Gerrit Code Review 10 months ago
Patch set 14 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80748
Updated by Gerrit Code Review 8 months ago
Patch set 15 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80748
Updated by Gerrit Code Review 8 months ago
Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82116
Updated by Anonymous 8 months ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 21f5ee49c63fa2af6bfed6fb1d600a11943ef22c.