[TYPO3-core] RFC: #11201: Feature: add eval email

Mathias Schreiber [wmdb >] mathias.schreiber at wmdb.de
Wed May 27 17:12:08 CEST 2009


Steffen Kamper schrieb:
> Hi,
> 
> Johannes Feustel schrieb:
>> evalFunc_email doesn't test if a tld exists. Why not using RegExp like
>> /^([\w]+)(\.[\w]+)*@([\w\-]+\.){1,5}([A-Za-z]){2,4}$/;
>> (copied from ExtJS) or using ExtJS validation directly?
>>
> 
> i didn't want to run in same problems we had before in php with reg 
> exp., so JS-test is very simple:
> does @ exist, does . exist, don't start with @, don't end with .
> The deeper validation is done php-side.

I like the idea, the docs should clearly state that the validation is 
rather basic and that email like huselpusel at 192.168.13.13 aren't covered 
by this.


-- 
TYPO3 certified intregator
T3DD09 Entertainer


More information about the TYPO3-team-core mailing list