You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Ayoma Gayan Wijethunga (JIRA)" <ji...@apache.org> on 2015/05/28 17:17:17 UTC

[jira] [Updated] (VALIDATOR-367) TLD list of DomainValidator is out of date (159 of 947 not available)

     [ https://issues.apache.org/jira/browse/VALIDATOR-367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ayoma Gayan Wijethunga updated VALIDATOR-367:
---------------------------------------------
    Attachment: DomainValidator.java.patch

Patch for DomainValidator.java is attached, which updates latest TLDs.


Please note that the is my first contribution towards Apache Commons. Hence, kindly let me know if I have done anything wrong in the bug report.

> TLD list of DomainValidator is out of date (159 of 947 not available)
> ---------------------------------------------------------------------
>
>                 Key: VALIDATOR-367
>                 URL: https://issues.apache.org/jira/browse/VALIDATOR-367
>             Project: Commons Validator
>          Issue Type: Bug
>          Components: Routines
>    Affects Versions: 1.4.1 Release
>            Reporter: Ayoma Gayan Wijethunga
>         Attachments: DomainValidator.java.patch
>
>
> TLD list of DomainValidator is out of date.
> 159 new TLDs out of 947 are not available in DomainValidator. 
> Until such time as a better method is implemented, adding new entries from  http://data.iana.org/TLD/tlds-alpha-by-domain.txt
> Main reason for creating this issue is that unavailability of relevant TLDs result in 16% failure in a local parameterised unit test, which tests against email addressed from all possible TLDs.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)