commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rolando Lopez (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (VALIDATOR-311) Multiple trailing slashes causes UrlValidator isValid() method to return false
Date Sat, 06 Oct 2012 23:03:02 GMT

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

Rolando Lopez commented on VALIDATOR-311:
-----------------------------------------

passing UrlValidator.ALLOW_2_SLASHES in the constructor allows for multiple slashes. Not a
bug.
                
> Multiple trailing slashes causes UrlValidator isValid() method to return false
> ------------------------------------------------------------------------------
>
>                 Key: VALIDATOR-311
>                 URL: https://issues.apache.org/jira/browse/VALIDATOR-311
>             Project: Commons Validator
>          Issue Type: Bug
>          Components: Routines
>    Affects Versions: 1.4.0 Release
>         Environment: Windows 7 
> Java 6
>            Reporter: Rolando Lopez
>              Labels: bug, bugs, url, urlvalidator
>
> isValid("http://www.google.com///") returns false. This should return true as this is
not invalid.

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

Mime
View raw message