Author: drobiazko
Date: Mon Nov 23 18:12:44 2009
New Revision: 883441
URL: http://svn.apache.org/viewvc?rev=883441&view=rev
Log:
TAP5-896: Contribute 'properties' file extension to the configuration of
ResourceDigestGenerator
Modified:
tapestry/tapestry5/branches/5.1.0.x-dev/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java
Modified:
tapestry/tapestry5/branches/5.1.0.x-dev/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java
URL:
http://svn.apache.org/viewvc/tapestry/tapestry5/branches/5.1.0.x-dev/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java?rev=883441&r1=883440&r2=883441&view=diff
==============================================================================
---
tapestry/tapestry5/branches/5.1.0.x-dev/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java
(original)
+++
tapestry/tapestry5/branches/5.1.0.x-dev/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java
Mon Nov 23 18:12:44 2009
@@ -1970,6 +1970,10 @@
{
// Java class files always require a digest.
configuration.add("class");
+
+ // Even though properties don't contain sensible data we should
protect them.
+ configuration.add("properties");
+
// Likewise, we don't want people fishing for templates.
configuration.add(InternalConstants.TEMPLATE_EXTENSION);