You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2013/04/08 12:03:17 UTC
[jira] [Resolved] (WICKET-5114) Url#toString(StringMode.FULL)
throws exception if a segment contains two dots
[ https://issues.apache.org/jira/browse/WICKET-5114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Grigorov resolved WICKET-5114.
-------------------------------------
Resolution: Fixed
Fix Version/s: 1.5.11
6.7.0
Assignee: Martin Grigorov
Thanks, Cedric!
> Url#toString(StringMode.FULL) throws exception if a segment contains two dots
> -----------------------------------------------------------------------------
>
> Key: WICKET-5114
> URL: https://issues.apache.org/jira/browse/WICKET-5114
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 6.5.0
> Reporter: Peter Parson
> Assignee: Martin Grigorov
> Fix For: 6.7.0, 1.5.11
>
> Attachments: fix-WICKET-5114.patch
>
>
> When invoking toString(StringMode.FULL) for a URL like
> /mountPoint/whatever.../
> an IllegalStateException is thrown with message: Cannot render this url in FULL mode because it has a `..` segment: /mountPoint/whatever.../
> The method does not actually check for `..` segments but rather checks whether path.contains("..")
--
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