commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (VALIDATOR-309) UrlValidator does not validate uppercase URL schemes
Date Sat, 03 Jan 2015 09:49:34 GMT

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

Sebb updated VALIDATOR-309:
---------------------------
    Summary: UrlValidator does not validate uppercase URL schemes  (was: UrlValidator does
not validate uppercase URLs)

> 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
>         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)

Mime
View raw message