You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Benedikt Ritter (JIRA)" <ji...@apache.org> on 2015/01/13 21:02:42 UTC
[jira] [Closed] (VALIDATOR-317) DomainValidator missing sTLD -
"xxx"
[ https://issues.apache.org/jira/browse/VALIDATOR-317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benedikt Ritter closed VALIDATOR-317.
-------------------------------------
> 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 Release
> Reporter: Arūnas Bendoraitis
> Assignee: Benedikt Ritter
> Fix For: 1.4.1 Release
>
>
> 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.3.4#6332)