[
https://issues.apache.org/jira/browse/WICKET-4430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sebastiaan van Erk updated WICKET-4430:
---------------------------------------
Description:
Using "int" as scope, it is possible to access arbitrary resources in from the
classpath of a wicket application, for example, using the url:
http://localhost:8080/myapp/resources/int/myfile.txt
access the myfile.txt in the root of the classpath. Combined with WICKET-4427
this allows arbitrary resources to be downloaded, i.e., like this:
http://localhost:8080/myapp/resources/int/wicket.properties,xml
In wicket 1.5.4 I've succeeded in getting the wicket.properties file as follows:
http://localhost:8080/wicket/resource/int/wicket.properties,/
was:
Using "int" as scope, it is possible to access arbitrary resources in from the
classpath of a wicket application, for example, using the url:
http://localhost:8080/myapp/resources/int/myfile.txt
access the myfile.txt in the root of the classpath. Combined with WICKET-4427
this allows arbitrary resources to be downloaded, i.e., like this:
http://localhost:8080/myapp/resources/int/wicket.properties,xml
In wicket 1.5.4 I've succeeded in getting the wicket.properties file as follows:
http://localhost:8080/wicket/resource/int/%2Fwicket.properties,/
> By using int as the scope, it is possible to read arbitrary resources from
> the classpath of a wicket application
> ----------------------------------------------------------------------------------------------------------------
>
> Key: WICKET-4430
> URL: https://issues.apache.org/jira/browse/WICKET-4430
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.4.18, 1.5.4
> Reporter: Sebastiaan van Erk
> Priority: Critical
>
> Using "int" as scope, it is possible to access arbitrary resources in from
> the classpath of a wicket application, for example, using the url:
> http://localhost:8080/myapp/resources/int/myfile.txt
> access the myfile.txt in the root of the classpath. Combined with WICKET-4427
> this allows arbitrary resources to be downloaded, i.e., like this:
> http://localhost:8080/myapp/resources/int/wicket.properties,xml
> In wicket 1.5.4 I've succeeded in getting the wicket.properties file as
> follows:
> http://localhost:8080/wicket/resource/int/wicket.properties,/
--
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