You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Ivan Zinchenko (JIRA)" <ji...@apache.org> on 2010/11/25 13:36:13 UTC
[jira] Created: (WICKET-3196) UrlValidaotr failes to validate urls
that containt multiple dots in path
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.
[jira] Resolved: (WICKET-3196) UrlValidator failes to validate urls
that containt multiple dots in path
Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-3196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg resolved WICKET-3196.
-----------------------------------
Resolution: Fixed
Fix Version/s: 1.5-M4
1.4.15
> UrlValidator 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
> Assignee: Igor Vaynberg
> Priority: Minor
> Fix For: 1.4.15, 1.5-M4
>
>
> 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.
[jira] Updated: (WICKET-3196) UrlValidator failes to validate urls
that containt multiple dots in path
Posted by "Ivan Zinchenko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-3196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ivan Zinchenko updated WICKET-3196:
-----------------------------------
Summary: UrlValidator failes to validate urls that containt multiple dots in path (was: UrlValidaotr failes to validate urls that containt multiple dots in path)
> UrlValidator 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.
[jira] Commented: (WICKET-3196) UrlValidator failes to validate
urls that containt multiple dots in path
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-3196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12964613#action_12964613 ]
Hudson commented on WICKET-3196:
--------------------------------
Integrated in Apache Wicket 1.4.x #299 (See [https://hudson.apache.org/hudson/job/Apache%20Wicket%201.4.x/299/])
> UrlValidator 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
> Assignee: Igor Vaynberg
> Priority: Minor
> Fix For: 1.4.15, 1.5-M4
>
>
> 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.
[jira] Assigned: (WICKET-3196) UrlValidator failes to validate urls
that containt multiple dots in path
Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-3196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg reassigned WICKET-3196:
-------------------------------------
Assignee: Igor Vaynberg
> UrlValidator 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
> Assignee: Igor Vaynberg
> Priority: Minor
> Fix For: 1.4.15, 1.5-M4
>
>
> 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.
[jira] Updated: (WICKET-3196) UrlValidator failes to validate urls
that containt multiple dots in path
Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-3196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg updated WICKET-3196:
----------------------------------
Priority: Minor (was: Critical)
> UrlValidator 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: Minor
>
> 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.