Issue Bug Closed

#15054Gremlin: Insufficient email validation

Thorsten Kahler 10/14/05, 11:27 updated 10/02/18, 12:33

Description

The RegEx used in t3lib_div::validEmail() will return true only in some rather homebred cases. The check in t3lib/jsfunc.validateform.js in function validateForm is even worse.

I’d suggest to use one of those rated with 4 of those very popular green bars ;-) at [1]. One of these should work in JS also. And at least they’re all closer to the RFC 822 [2].

[1] http://www.regexlib.com/Search.aspx?k=email
2 http://www.faqs.org/rfcs/rfc822.html

(issue imported from #M1606)

Reviews 0

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