[
https://issues.apache.org/jira/browse/WICKET-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Igor Vaynberg resolved WICKET-2441.
-----------------------------------
Assignee: Igor Vaynberg
Resolution: Won't Fix
1.3.x is no longer supported
> resource location bug displays directory listing
> ------------------------------------------------
>
> Key: WICKET-2441
> URL: https://issues.apache.org/jira/browse/WICKET-2441
> Project: Wicket
> Issue Type: Bug
> Affects Versions: 1.3.7
> Environment: ubuntu 8.10
> Reporter: Antoine van Wel
> Assignee: Igor Vaynberg
>
> accessing a url like this
> /resources/my.url.MyPage/test
> will display a list of all available files in resources such as
> applicationContext.xml
> I've traced the problem to ResourceNameIterator lines 92 and further;
> this.extensions = Strings.afterLast(path, '.');
> path = Strings.beforeLast(path, '.');
> the path will at that stage will not contain any "." so effectively this will
> cause this.extensions and path to be cleared, eventually resulting in a
> resourcestream being returned of the resource directory.
> The issue seems to be solved in 1.4.1
> --Antoine
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.