You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by dr...@apache.org on 2009/11/08 22:19:25 UTC

svn commit: r833929 - /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java

Author: drobiazko
Date: Sun Nov  8 21:19:23 2009
New Revision: 833929

URL: http://svn.apache.org/viewvc?rev=833929&view=rev
Log:
TAP5-896: Contribute 'properties' file extension to the configuration of ResourceDigestGenerator

Modified:
    tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java?rev=833929&r1=833928&r2=833929&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java Sun Nov  8 21:19:23 2009
@@ -1979,7 +1979,7 @@
      * <p/>
      * The extensions must be all lower case.
      * <p/>
-     * This contributes "class" and "tml" (the template extension).
+     * This contributes "class", "properties" and "tml" (the template extension).
      *
      * @param configuration collection of extensions
      */
@@ -1988,6 +1988,9 @@
         // 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);
     }