Issue Bug Closed

#23769Server crashes calling t3lib_div::validEmail() with a string which has more characters than 2264

Simon Schick 10/17/10, 22:31 updated 10/18/10, 07:28

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)

Reviews 0

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