commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (VALIDATOR-342) URLValidator returns false for http://example.rocks
Date Mon, 17 Nov 2014 21:38:34 GMT

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

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

The method does indeed check the domain.
I don't know why this is not mentioned in the Javadoc.

What you appear to be asking for is a syntax check of a URL string, i.e. skipping the domain
check.
The existing method could perhaps be extended to add another option to skip the check.

> URLValidator returns false for http://example.rocks
> ---------------------------------------------------
>
>                 Key: VALIDATOR-342
>                 URL: https://issues.apache.org/jira/browse/VALIDATOR-342
>             Project: Commons Validator
>          Issue Type: Bug
>            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)

Mime
View raw message