[ 
https://issues.apache.org/jira/browse/VALIDATOR-309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sebb resolved VALIDATOR-309.
----------------------------
       Resolution: Fixed
    Fix Version/s: 1.4.1

URL: http://svn.apache.org/r1649183
Log:
VALIDATOR-309 - UrlValidator does not validate uppercase URL schemes

Modified:
    commons/proper/validator/trunk/RELEASE-NOTES.txt
    commons/proper/validator/trunk/src/changes/changes.xml
    
commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/UrlValidator.java
    
commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/UrlValidatorTest.java


> UrlValidator does not validate uppercase URL schemes
> ----------------------------------------------------
>
>                 Key: VALIDATOR-309
>                 URL: https://issues.apache.org/jira/browse/VALIDATOR-309
>             Project: Commons Validator
>          Issue Type: Bug
>    Affects Versions: 1.4.0 Release
>            Reporter: Rashid Rashidov
>             Fix For: 1.4.1
>
>         Attachments: Validator-309-test.patch, Validator-309.patch
>
>
> I am using org.apache.commons.validator.routines.UrlValidator class to 
> validate URLs. The problem is that when the URL is all uppercase, the 
> isValid(...) method returns false.
> For example:
> https://sample.ondemand.com is valid
> HTTPS://SAMPLE.ONDEMAND.COM is not valid
> RFC 1738 states that both URLs are valid.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to