Rashid Rashidov created VALIDATOR-309:
-----------------------------------------

             Summary: UrlValidator does not validate uppercase URLs
                 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


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to