Project

General

Profile

Actions

Bug #15054

closed

Gremlin: Insufficient email validation

Added by Thorsten Kahler over 18 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2005-10-14
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)


Related issues 4 (0 open4 closed)

Related to TYPO3 Core - Feature #15147: TCA: possibility to evaluate email fieldsClosed2005-10-22

Actions
Related to TYPO3 Core - Feature #17334: [Code] Improved t3lib_div::validEmail() satisfying RFC 3696ClosedChristian Kuhn2007-05-26

Actions
Related to TYPO3 Core - Feature #19466: use native filter_functions for validate and sanitizeClosedDmitry Dulepov2008-10-16

Actions
Has duplicate TYPO3 Core - Bug #16233: t3lib_div::validEmail() -> validation not complete?ClosedOliver Hader2006-06-13

Actions
Actions

Also available in: Atom PDF