[
https://issues.apache.org/jira/browse/VALIDATOR-309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gurps Bassi updated VALIDATOR-309:
----------------------------------
Attachment: VALIDATOR-309-test.patch
Patch to ensure scheme is not regarded as case sensitive in URL validation.
> 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
> Attachments: VALIDATOR-309-test.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 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