Files
gerrit/lib/commons
David Pursehouse 802a16207a Update commons-validator to 1.5.1 and add test for validating TLDs
Version 1.4.1 does not recognize .team as a valid TLD and thus prevents
users from using that domain as their email address.

Upgrade to version 1.5.1 which uses TLD list Version 2016042500, which
includes .team.

Also add a test for the validator.

The list of TLDs tested is taken from the IANA site [1] and is a later
version that includes some TLDs not yet supported by commons-validator.

Test that supported TLDs validate, while unsupported TLDs do not.

[1] http://data.iana.org/TLD/tlds-alpha-by-domain.txt

Bug: Issue 4154
Change-Id: I82378e578387a1fd70eabac012570e430e193e52
2016-06-28 12:49:59 +00:00
..