NOTE:: Before reporting an issue, make sure you are running the latest version, currently 3.3.1

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015632phplist applicationEmailpublic12-08-11 18:2823-05-12 03:51
ReporterAndy Read 
PlatformOSOS Version
Product Version2.10.14 
Target Version4.0.xFixed in Version2.11.7 
Summary0015632: TLDs missing from is_email() validation
DescriptionThe '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 [^]

e.g. .mobi, .tel, .xxx, not to mention internationalized and the new "register-anything-you-like" (if you can afford it) TLDs.
Additional InformationI 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 [^] 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
has duplicate 0011959resolvedmichiel Missing TLD for .travel domains 
related to 0012866resolvedmichiel Strict format checking of email and other fields prevents numerous imports, possible for mysql injection attacks 
related to 0006782resolvedmichiel Importing Invalid E-mails 

-  Notes
michiel (manager)
20-09-11 14:44

"im" is back in the regex, but the issue of loading the list from a remote source should be looked at for new dev
michiel (manager)
22-05-12 20:18

I've added a dynamic update of TLDs

Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker