sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From asa...@apache.org
Subject svn commit: r1660146 - /sling/trunk/contrib/extensions/security/src/main/java/org/apache/sling/security/impl/ReferrerFilter.java
Date Mon, 16 Feb 2015 15:44:17 GMT
Author: asanso
Date: Mon Feb 16 15:44:17 2015
New Revision: 1660146

URL: http://svn.apache.org/r1660146
Log:
SLING-4019 - ReferrerFilter should have DEFAULT_ALLOW_EMPTY set to false

Modified:
    sling/trunk/contrib/extensions/security/src/main/java/org/apache/sling/security/impl/ReferrerFilter.java

Modified: sling/trunk/contrib/extensions/security/src/main/java/org/apache/sling/security/impl/ReferrerFilter.java
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/extensions/security/src/main/java/org/apache/sling/security/impl/ReferrerFilter.java?rev=1660146&r1=1660145&r2=1660146&view=diff
==============================================================================
--- sling/trunk/contrib/extensions/security/src/main/java/org/apache/sling/security/impl/ReferrerFilter.java
(original)
+++ sling/trunk/contrib/extensions/security/src/main/java/org/apache/sling/security/impl/ReferrerFilter.java
Mon Feb 16 15:44:17 2015
@@ -89,7 +89,7 @@ public class ReferrerFilter implements F
     private final Logger logger = LoggerFactory.getLogger(this.getClass());
 
     /** Default value for allow empty. */
-    private static final boolean DEFAULT_ALLOW_EMPTY = true;
+    private static final boolean DEFAULT_ALLOW_EMPTY = false;
 
     /** Allow empty property. */
     @Property(boolValue=DEFAULT_ALLOW_EMPTY)



Mime
View raw message