You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Arūnas Bendoraitis (JIRA)" <ji...@apache.org> on 2013/04/03 22:47:15 UTC

[jira] [Created] (VALIDATOR-317) DomainValidator missing sTLD - "xxx"

Arūnas Bendoraitis created VALIDATOR-317:
--------------------------------------------

             Summary: DomainValidator missing sTLD - "xxx"
                 Key: VALIDATOR-317
                 URL: https://issues.apache.org/jira/browse/VALIDATOR-317
             Project: Commons Validator
          Issue Type: Bug
          Components: Routines
    Affects Versions: 1.4.1
            Reporter: Arūnas Bendoraitis


org.apache.commons.validator.routines.DomainValidator is missing sTLD - "xxx".

http://en.wikipedia.org/wiki/.xxx

Tested in current trunk. If you add an extra test in DomainValidatorTest: 

assertTrue(".xxx should validate as gTLD", validator.isValidGenericTld(".xxx"));

The test will fail. Also of course UrlValidator will fail with any url which has domain .xxx

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira