[
https://issues.apache.org/jira/browse/TAP5-815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Massimo Lusetti closed TAP5-815.
--------------------------------
Resolution: Invalid
Assignee: Massimo Lusetti (was: Ulrich Stärk)
The current 5.3 impl of this is correct about resource protection
If the resource is a dir from the context is served if it's not under WEB-INF,
it it's from classpath a NPE is thrown.
Maybe a NPE is not that nice but now it serve the purpose.
> Asset dispatcher allows any file inside the webapp visible and downloadable
> ---------------------------------------------------------------------------
>
> Key: TAP5-815
> URL: https://issues.apache.org/jira/browse/TAP5-815
> Project: Tapestry 5
> Issue Type: Bug
> Affects Versions: 5.1.0.6
> Reporter: Thiago H. de Paula Figueiredo
> Assignee: Massimo Lusetti
> Priority: Blocker
> Fix For: 5.0.19, 5.2.0
>
>
> Take any asset and you have an URL like
> domain.com/assets/ctx/f10407a6c1753e39/css/main.css. If you request
> domain.com/assets/ctx/f10407a6c1753e39/, a list containing all the files
> inside the webapp root is shown. It gives you the hint at downloading any
> file you want, including anyting inside WEB-INF and assets that should be
> protected by ResourceDigestGenerator.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira