javascript - Email address validation of Top Level Domain -
Our QA has filed a bug that states that the top level domain of the email address can not be of one character.
foo@bar.z Seeing the standards, I have a hard time finding whether someone can confirm that the minimum level of the top level domain is determined Is the right thing to do?
The rules are as complex as the email address to validate, the more complicated as they are buggy in their implementation Are likely to be.
Instead of validating an email address, consider checking it directly instead:
The problem with your case is that there is a very real possibility that ICANN will be the one-on-one -performed domain names, and individual DNS labels can be be of length 1, in fact "bar.z" is a valid email address domain name if a DNS tree / organization Sent from within, where it is a sub-domain of fun (Like mailerver smtp.mycompany.org and I have also defined an MX server for the bar .z.mycompany.org ).
Comments
Post a Comment