Email validation in admin modules
I've got a project with one of the new TLD's ending in .fitness. Adding a Fuel admin user with this email address results in a "Please enter in a valid email address." validation fail. I've extended CI's Form_Validation to allow for longer suffixes but the admin module controller must be using another validation. Maybe? is the admin validation handled by another library?
Comments
[a-z]{2,6}
If you change it to something like [a-z]{2,10}, does it then work for you?
return filter_var($email, FILTER_VALIDATE_EMAIL);
It looks like that function needs to be updated.