You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Meier (JIRA)" <ji...@apache.org> on 2013/03/26 23:11:15 UTC

[jira] [Resolved] (WICKET-5112) Parantheses problem with UrlValidator

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

Sven Meier resolved WICKET-5112.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5.11
                   6.7.0
         Assignee: Sven Meier

parenthesis are valid in url path
                
> Parantheses problem with UrlValidator
> -------------------------------------
>
>                 Key: WICKET-5112
>                 URL: https://issues.apache.org/jira/browse/WICKET-5112
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.10
>            Reporter: Teresa Neto
>            Assignee: Sven Meier
>              Labels: UrlValidator
>             Fix For: 6.7.0, 1.5.11
>
>
> One of our users got an error message when trying to add a new URL:
> 'http://en.wikipedia.org/wiki/Genus_(mathematics)' is not a valid URL
> I just created very quickly a junit test and it fails:
> String[] schemes = {"http"};
> UrlValidator urlValidator = new UrlValidator(schemes);
> assertTrue(urlValidator.isValid("http://en.wikipedia.org/wiki/Genus_(mathematics)"));

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