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/06 23:23:03 UTC
[jira] [Created] (VALIDATOR-311) Multiple trailing slashes causes
UrlValidator isValid() method to return false
Rolando Lopez created VALIDATOR-311:
---------------------------------------
Summary: 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
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
[jira] [Commented] (VALIDATOR-311) Multiple trailing slashes causes
UrlValidator isValid() method to return false
Posted by "Rolando Lopez (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Closed] (VALIDATOR-311) Multiple trailing slashes causes
UrlValidator isValid() method to return false
Posted by "Rolando Lopez (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/VALIDATOR-311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rolando Lopez closed VALIDATOR-311.
-----------------------------------
Resolution: Not A Problem
UrlValidator.ALLOW_2_SLASHES in the constructor allows for multiple trailing slashes
> 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