[ 
https://issues.apache.org/jira/browse/WICKET-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12759872#action_12759872
 ] 

Juergen Donnerstag commented on WICKET-2441:
--------------------------------------------

Since 1.4 is the official release by now, only critical bugs will be fixed in 
1.3.

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

Reply via email to