[ 
https://issues.apache.org/jira/browse/VALIDATOR-342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14215256#comment-14215256
 ] 

Sebb commented on VALIDATOR-342:
--------------------------------

The .rocks TLD is quite recent and is (I assume) not included in the list used 
by the Domain validator.

Fixing that is a separate issue.

The reason your Groovy code works is that it does not check whether the domain 
is valid; it will accept any syntactically correct string.

> URLValidator returns false for http://example.rocks
> ---------------------------------------------------
>
>                 Key: VALIDATOR-342
>                 URL: https://issues.apache.org/jira/browse/VALIDATOR-342
>             Project: Commons Validator
>          Issue Type: New Feature
>            Reporter: Donal Murtagh
>
> It seems the (valid) subdomain is the problem because it returns true for 
> http://example.com



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

Reply via email to