/[Apache-SVN]
ViewVC logotype

Revision 889469


Jump to revision: Previous Next
Author: robertdzeigler
Date: Thu Dec 10 23:43:50 2009 UTC (14 years, 4 months ago)
Changed paths: 11
Log Message:
TAP5-815: Asset dispatcher allows any file inside the webapp visible and downloadable
Backport changes from trunk to 5.0: 404 returned instead or 403 for restricted assets; add a new integration test; fix AssetProtectionDispatcher unit test. 
Note that opening up context assets is unnecessary for the 5.0 branch because it handles context assets by generating a url for them that is handled by the servlet container, rather than the AssetDispatcher.



Changed paths

Path Details
Directorytapestry/tapestry5/branches/5.0/tapestry-core/src/main/java/org/apache/tapestry5/SymbolConstants.java modified , text changed
Directorytapestry/tapestry5/branches/5.0/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/AssetProtectionDispatcher.java modified , text changed
Directorytapestry/tapestry5/branches/5.0/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java modified , text changed
Directorytapestry/tapestry5/branches/5.0/tapestry-core/src/test/app1/AssetProtectionDemo.tml added
Directorytapestry/tapestry5/branches/5.0/tapestry-core/src/test/java/org/apache/tapestry5/integration/IntegrationTests.java modified , text changed
Directorytapestry/tapestry5/branches/5.0/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/AssetProtectionDemo.java added
Directorytapestry/tapestry5/branches/5.0/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/Index.java modified , text changed
Directorytapestry/tapestry5/branches/5.0/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/services/AppModule.java modified , text changed
Directorytapestry/tapestry5/branches/5.0/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/AssetProtectionDispatcherTest.java modified , text changed
Directorytapestry/tapestry5/branches/5.0/tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/pages/availablefile.txt added
Directorytapestry/tapestry5/branches/5.0/tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/pages/unavailablefile.txt added

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26