Re: UrlValidator issue

2013-03-25 Thread Teresa Batista Neto
https://issues.apache.org/jira/browse/WICKET-5112


On Thu, Mar 21, 2013 at 5:00 PM, Sven Meier  wrote:

> 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-unsubscribe@wicket.**apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: UrlValidator issue

2013-03-21 Thread Sven Meier

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