You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Jesse Long (JIRA)" <ji...@apache.org> on 2011/09/02 11:18:09 UTC
[jira] [Created] (WICKET-4020) ResourceMapper throws
IllegalStateException when attempting to map a request to a URL ending in a
empty segment (directory)
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
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
[jira] [Resolved] (WICKET-4020) ResourceMapper throws
IllegalStateException when attempting to map a request to a URL ending in a
empty segment (directory)
Posted by "Peter Ertl (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Updated] (WICKET-4020) ResourceMapper throws
IllegalStateException when attempting to map a request to a URL ending in a
empty segment (directory)
Posted by "Jesse Long (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-4020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jesse Long updated WICKET-4020:
-------------------------------
Attachment: fix-WICKET-4020.patch
Patch to ResourceMapper and ResourceMapperTest
> 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
> 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
[jira] [Assigned] (WICKET-4020) ResourceMapper throws
IllegalStateException when attempting to map a request to a URL ending in a
empty segment (directory)
Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
[ 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