sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From romb...@apache.org
Subject [sling-org-apache-sling-security] 06/20: SLING-2141 - Add a way to check the referrer for modification requests
Date Tue, 07 Nov 2017 10:12:44 GMT
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.security-1.0.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-security.git

commit 2e74bb2494e7d3dbd018d473e9c9a90b69c8b823
Author: Carsten Ziegeler <cziegeler@apache.org>
AuthorDate: Fri Jul 15 06:28:47 2011 +0000

    SLING-2141 - Add a way to check the referrer for modification requests
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/security@1146975
13f79535-47bb-0310-9956-ffa450edef68
---
 src/main/resources/OSGI-INF/metatype/metatype.properties | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/OSGI-INF/metatype/metatype.properties b/src/main/resources/OSGI-INF/metatype/metatype.properties
index b79a686..72ac2f5 100644
--- a/src/main/resources/OSGI-INF/metatype/metatype.properties
+++ b/src/main/resources/OSGI-INF/metatype/metatype.properties
@@ -31,5 +31,8 @@ allow.empty.name = Allow Empty
 allow.empty.description = Allow an empty or missing referrer
 
 allow.hosts.name = Allow Hosts
-allow.hosts.description = List of allowed hosts for the referrer. IF this is empty only the
server\
- host is allowed.
+allow.hosts.description = List of allowed hosts for the referrer. If this is empty only the
server\
+ host is allowed. If this is set, it must include the server host name!
+
+allow.localhost.name = Allow Localhost
+allow.localhost.description = If this is enabled, 'localhost' and '127.0.0.1' are always
allowed.
\ No newline at end of file

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <commits@sling.apache.org>.

Mime
View raw message