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

Reply via email to