Ben.Smith
05-13-2013, 08:22 AM
Hello,
i'm new to vBulletin and i've been wondering about their method of email validation.
A client has been reporting "invalid email adress" errors when he wanted to update his profile, so i have been checking on this. Problem was vB was checking casesensitive allowing only lowercase adresses.
I found nothing, but a questionable javascript validation. Meaning i basically can input whatever i want. (When making use of some js debugging).
Is it right, that there is no server side validation of email input?
Also, who does a regular expression for emails like this? :eek: :down:
/^[a-z0-9_\-]+(\.[_a-z0-9\-]+)*@([_a-z0-9\-]+\.)+([a-z]{2}|aero|arpa|biz|com|coop|edu|gov|info|int|jobs|m il|museum|name|nato|net|org|pro|travel)$/
Does anybody know wheather it's a bug or do they just have another understanding of "valid email"? :rolleyes:
i'm new to vBulletin and i've been wondering about their method of email validation.
A client has been reporting "invalid email adress" errors when he wanted to update his profile, so i have been checking on this. Problem was vB was checking casesensitive allowing only lowercase adresses.
I found nothing, but a questionable javascript validation. Meaning i basically can input whatever i want. (When making use of some js debugging).
Is it right, that there is no server side validation of email input?
Also, who does a regular expression for emails like this? :eek: :down:
/^[a-z0-9_\-]+(\.[_a-z0-9\-]+)*@([_a-z0-9\-]+\.)+([a-z]{2}|aero|arpa|biz|com|coop|edu|gov|info|int|jobs|m il|museum|name|nato|net|org|pro|travel)$/
Does anybody know wheather it's a bug or do they just have another understanding of "valid email"? :rolleyes: