Add mobi TLD to list of valid parts of an email. Fixes bug #11582.

This commit is contained in:
Colin Kuskie 2010-05-24 11:17:59 -07:00
parent 760abafd9c
commit 5075e4f503
2 changed files with 2 additions and 1 deletions

View file

@ -6,6 +6,7 @@
- fixed #11581: Calendar problems
- fixed #11583: EMS: Tokens do not follow their permissions
- fixed #11584: Errors on checkout when payment problems occur
- fixed #11582: Registering with a .mobi email address
7.9.5
- Asset->www_copy now has a progress bar

View file

@ -8,7 +8,7 @@ var checkTLD=1;
/* The following is the list of known TLDs that an e-mail address must end with. */
var knownDomsPat=/^(com|net|org|edu|int|mil|gov|arpa|biz|aero|name|coop|info|pro|museum)$/i;
var knownDomsPat=/^(com|net|org|edu|int|mil|gov|arpa|biz|aero|name|coop|info|pro|museum|mobi)$/i;
/* The following pattern is used to check if the entered e-mail address
fits the user@domain format. It also is used to separate the username