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

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

Teresa Neto created WICKET-5112:
-----------------------------------

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


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