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

Martin Grigorov commented on WICKET-2441:
-----------------------------------------

I cannot reproduce it.
I get:
org.apache.wicket.request.resource.PackageResource$PackageResourceBlockedException:
 Access denied to (static) package resource 
de/agilecoders/wicket/extensions/markup/html/bootstrap/icon/css. See 
IPackageResourceGuard
        at 
org.apache.wicket.request.resource.PackageResource.internalGetResourceStream(PackageResource.java:474)
        at 
org.apache.wicket.request.resource.PackageResource.getResourceStream(PackageResource.java:419)
     ....

[~dtorba] Please create a quickstart app and attach it to a new ticket.
Thanks!

> 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 was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to