View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0015632||phpList 3 application||public||12-08-11 18:28||23-05-12 03:51|
|Reporter||Andy Read||Assigned To|
|Fixed in Version||2.11.7|
|Summary||0015632: TLDs missing from is_email() validation|
|Description||The 'im' TLD (Isle of Mann) is missing from the is_email() validation function in admin/commonlib/lib/userlib.php.|
A cursory look at the pattern used suggests that several other TLDs are missing compared to http://en.wikipedia.org/wiki/List_of_Internet_top-level_domains.
e.g. .mobi, .tel, .xxx, not to mention internationalized and the new "register-anything-you-like" (if you can afford it) TLDs.
|Additional Information||I suggest this is_email() function needs to be written to use an external txt file of TLDs. At a minimum this could be updated from the official http://data.iana.org/TLD/tlds-alpha-by-domain.txt at each new release of phplist and would be fairly easy to edit by admins if necessary. Ideally phplist would check itself for updated versions of this file.|
|Tags||No tags attached.|