Author: info
Description:
patch from Asheesh Laroia
On [SMW-devel] [PATCH] SMW rejects .info as email address, Asheesh Laroia comments :
Right now, includes/SMW_DV_URI.php has, in its regex for case SMW_URI_MODE_EMAIL , a check that only allows domains of length between 2 and 3 (inclusive). This breaks .info addresses.
User's patch still won't allow new e-mail addresses in new .travel, and .museum domains, see http://en.wikipedia.org/wiki/Generic_top-level_domain
There's a long discussion of e-mail validation at
http://www.regular-expressions.info/email.html ,
SMW_DV_URI.php should probably copy one of those regexps and use it with a comment referring to the discussion.
Version: unspecified
Severity: minor
URL: http://sandbox.semantic-mediawiki.org/wiki/SMW_unit_test:Test_URLs
Attached: