You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sebastiaan van Erk (Commented) (JIRA)" <ji...@apache.org> on 2012/02/25 11:57:48 UTC
[jira] [Commented] (WICKET-4431) Possible to retrieve files from
WEB-INF (e.g., web.xml).
[ https://issues.apache.org/jira/browse/WICKET-4431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13216401#comment-13216401 ]
Sebastiaan van Erk commented on WICKET-4431:
--------------------------------------------
I don't really understand how this is a duplicate of WICKET-4430. The problem I'm pointing to in this case is the fact that the / of the servlet context directory is added to the directories searched for resources by default and there is no explicit protection to avoid accessing resources in the WEB-INF directory. This is a different problem then the scoping problem.
> Possible to retrieve files from WEB-INF (e.g., web.xml).
> --------------------------------------------------------
>
> Key: WICKET-4431
> URL: https://issues.apache.org/jira/browse/WICKET-4431
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.5.4
> Reporter: Sebastiaan van Erk
> Assignee: Peter Ertl
> Priority: Critical
>
> The following URL works to get the web.xml from the WEB-INF directory:
> http://localhost:8080/wicket/resource/int/WEB-INF/web.xml
> This is because the WebApplicationPath constructor by default adds / allowing us to access the resources from the servlet context.
--
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