You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Rolando Lopez (JIRA)" <ji...@apache.org> on 2012/10/05 20:38:04 UTC

[jira] [Commented] (VALIDATOR-310) Malformed URL with domain name starting with period '.' returns true for isValid method

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

Rolando Lopez commented on VALIDATOR-310:
-----------------------------------------

My mistake. I was calling another validator, this is NOT a bug of this project. Closing.
                
> Malformed URL with domain name starting with period '.' returns true for isValid method
> ---------------------------------------------------------------------------------------
>
>                 Key: VALIDATOR-310
>                 URL: https://issues.apache.org/jira/browse/VALIDATOR-310
>             Project: Commons Validator
>          Issue Type: Bug
>          Components: Routines
>    Affects Versions: 1.4.0 Release
>         Environment: Java 1.6
>            Reporter: Rolando Lopez
>              Labels: bug, url, urlvalidator
>             Fix For: 1.4.0 Release
>
>
> UrlValidator.isValid("http://.sample.org") returns true but domain names must not start with a '.'

--
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