It seems UrlValidator chokes on parantheses.

Please open an Jira issue.

Thanks
Sven

On 03/21/2013 04:33 PM, Teresa Batista Neto wrote:
Dear all,

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

Any ideas?
Teresa



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to