Email validation wrong

I am not sure what you mean.
"test@test" is valid as an email address (on a local system for instance), but "test@test." is not valid.
In any case, the Fabrik email validation plugin uses Joomla's validating routine.
 
Well technically it is not as xxx@localhost is a valid address.
However, I find this a problem for "real" addresses as sometimes people forget about the .tld.
That's why I don't use the email validation on F 3.1/J 3.1 (the culprit is Joomla) but a regex one:
Code:
/^([0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][-\w]*[0-9a-zA-Z]\.)+[a-zA-Z]{2,9})$/


This is compatible also with .tld like ".co.uk" or the new longest extensions, like ".name", ".travel",...
 
Back
Top