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 2014/04/01 17:57:21 UTC
[jira] [Updated] (VALIDATOR-317) DomainValidator missing sTLD -
"xxx"
[ https://issues.apache.org/jira/browse/VALIDATOR-317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arūnas Bendoraitis updated VALIDATOR-317:
-----------------------------------------
Issue Type: Sub-task (was: Bug)
Parent: VALIDATOR-305
> DomainValidator missing sTLD - "xxx"
> ------------------------------------
>
> Key: VALIDATOR-317
> URL: https://issues.apache.org/jira/browse/VALIDATOR-317
> Project: Commons Validator
> Issue Type: Sub-task
> 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 was sent by Atlassian JIRA
(v6.2#6252)