[ http://issues.apache.org/jira/browse/VALIDATOR-204?page=all ]

Henri Yandell resolved VALIDATOR-204.
-------------------------------------

    Fix Version/s: 1.3.1
       Resolution: Fixed

svn ci -m "Adding _ and ; to the list of allowed characters within the path 
component of a URL. _ is definitely allowed and ; is allowed but there are 
restrictions on its use and we'll need to refactor UrlValidator to properly 
understand how a ; may be used for path parameterization. This is with 
reference to #VALIDATOR-204." 

Sending        src/share/org/apache/commons/validator/UrlValidator.java
Transmitting file data .
Committed revision 453784.

> isValid return false for a valid URL
> ------------------------------------
>
>                 Key: VALIDATOR-204
>                 URL: http://issues.apache.org/jira/browse/VALIDATOR-204
>             Project: Commons Validator
>          Issue Type: Bug
>    Affects Versions: 1.3.0 Release
>         Environment: JBOSS, Linux
>            Reporter: Ben
>             Fix For: 1.3.1
>
>
> IsValid returns false for the following valid Url:
>     http://tech.yahoo.com/rc/desktops/102;_ylt=Ao8yevQHlZ4On0O3ZJGXLEQFLZA5
> Stepping thru the code isValidPath return false for the above URL.
> Test Code:
>   String[] schemes = {"http","https"}. 
>   UrlValidator urlValidator = new UrlValidator(schemes) ; 
>   
> urlValidator.isValid("http://tech.yahoo.com/rc/desktops/102;_ylt=Ao8yevQHlZ4On0O3ZJGXLEQFLZA5";)
>  ;

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to