UrlValidaotr failes to validate urls that containt multiple dots in path
------------------------------------------------------------------------
Key: WICKET-3196
URL: https://issues.apache.org/jira/browse/WICKET-3196
Project: Wicket
Issue Type: Bug
Components: wicket
Affects Versions: 1.4.9
Environment: Linux, Tomcat
Reporter: Ivan Zinchenko
Priority: Critical
refer to UrlValidator.java:466 (isValidPath).
if we have an url, that contains more than two consequent dots, for example
"http://www.somedomain.com/this_one_is_tricky...but...still.....valid",
validator will fail.
btw, the other side effect is that countTokens actually counts '...' a two
2dots.
One possible workaround is not just count '..' tokens, but count them along
with slash, like '../'.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.