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 2011/09/06 14:42:10 UTC

[jira] [Assigned] (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 ]

Martin Grigorov reassigned WICKET-4020:
---------------------------------------

    Assignee: Peter Ertl

> 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
>         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