You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Peter Ertl (JIRA)" <ji...@apache.org> on 2011/09/06 16:03:09 UTC
[jira] [Resolved] (WICKET-4020) ResourceMapper throws
IllegalStateException when attempting to map a request to a URL ending in a
empty segment (directory)
[ https://issues.apache.org/jira/browse/WICKET-4020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Ertl resolved WICKET-4020.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.5.1
thanks for reporting
> ResourceMapper throws IllegalStateException when attempting to map a request to a URL ending in a empty segment (directory)
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: WICKET-4020
> URL: https://issues.apache.org/jira/browse/WICKET-4020
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.5-RC7
> Environment: When a ResourceMapper is mounted
> Reporter: Jesse Long
> Assignee: Peter Ertl
> Fix For: 1.5.1
>
> Attachments: fix-WICKET-4020.patch
>
>
> ResourceMapper.mapRequest() calls ResourceMapper.removeCachingDecoration() which, throws IllegalStateException if the URL's last segment is an empty string.
> URLs like: path/to/my/non/wicket/directory/ end in a empty segment.
> We must change the behaviour to not attempt to undecorate a URL ending in an empty segment.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira