Actions
Bug #23769
closedServer crashes calling t3lib_div::validEmail() with a string which has more characters than 2264
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-10-17
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.4
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Hi, all
I'm using the extension formhandler to create some complex forms.
The logs of this extensions are saved in a field which can contain about 65000 characters.
By calling the list-view in the backend each value of a cell from the database-tables is passed to the function "t3lib_div::validEmail()".
This function is using the php-function "filter_var()" to check it it's a valid email.
Please note that this function contains a bug which will be fixed / is fixed in PHP v5.3.4 which is not released now.
Please check the length of the string before you call this php-function by using this information:
http://email.about.com/od/emailbehindthescenes/f/address_length.htm
http://bugs.php.net/bug.php?id=53091
(issue imported from #M16035)
Actions