Project

General

Profile

Actions

Bug #30311

closed

Problems with the validation of a email-address which contains umlauts - t3lib_div.validEmail

Added by David M. about 13 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-09-27
Due date:
% Done:

100%

Estimated time:
2.00 h
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

Description

It seems like the t3lib_div.validEmail function returns false negatives, when you use email-addresses with umlauts like admin@schön.at because the FILTER_VALIDATE_EMAIL is too strict. At http://php.net/manual/de/function.filter-var.php#104160 you can see a possible workaround for this, although it would be nicer with a punycode implementation.


Files

class.t3lib_divTest.php (100 KB) class.t3lib_divTest.php Updated Testcases David M., 2011-09-29 14:40
idna_convert.class.php (92.6 KB) idna_convert.class.php Converter Class (IDN) - Credits to Matthias Sommerfeld David M., 2011-09-29 14:40

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #34627: idna_convert.class not foundClosedGeorg Ringer2012-03-07

Actions
Actions

Also available in: Atom PDF