[
https://issues.apache.org/jira/browse/VALIDATOR-239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
R closed VALIDATOR-239.
-----------------------
Niall,
Thank you for your fast reply and sorry for not reading the doc before posting.
> UrlValidator does not support some valid URLs
> ---------------------------------------------
>
> Key: VALIDATOR-239
> URL: https://issues.apache.org/jira/browse/VALIDATOR-239
> Project: Commons Validator
> Issue Type: Bug
> Components: Routines
> Affects Versions: 1.3.1 Release
> Environment: Linux, Java
> Reporter: R
>
> Hello,
> It seems that URLs containing http:// in the middle of the URL are marked as
> invalid. However, both Internet Explorer and Firefox work fine with them and
> deliver the right content. Below is an example of an URL that works fine, but
> fails at the time of validation.
> String[] schemes={"http","https"};
> UrlValidator urlValidator=new UrlValidator(schemes);
> if(!urlValidator.isValid("http://www.instrumentpro.com/fullsize/http://www.instrumentpro.com/Merchant2/graphics/00000001/seypatb3.jpg")){
> System.out.println("THE URL IS INVALID");
> }
> Thank you very much!
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.