[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jakarta-commons-dev
Subject:    [jira] Resolved: (VALIDATOR-239) UrlValidator does not support some
From:       "Niall Pemberton (JIRA)" <jira () apache ! org>
Date:       2007-09-28 21:22:50
Message-ID: 16132110.1191014570870.JavaMail.jira () brutus
[Download RAW message or body]


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

Niall Pemberton resolved VALIDATOR-239.
---------------------------------------

    Resolution: Invalid

If you construct the UrlValidator with the "ALLOW_2_SLASHES" option then the url you \
gave as an example passes validation, for example:

        UrlValidator validator = new UrlValidator(UrlValidator.ALLOW_2_SLASHES);

Closing as INVALID


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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic