You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2022/02/03 12:47:14 UTC
[sling-org-apache-sling-security] branch master updated: Code cleanup - remove unnecessary path
This is an automated email from the ASF dual-hosted git repository.
cziegeler pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-security.git
The following commit(s) were added to refs/heads/master by this push:
new e6d7133 Code cleanup - remove unnecessary path
e6d7133 is described below
commit e6d7133fca71dc5fff1517c780046b5722be0049
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Thu Feb 3 13:47:04 2022 +0100
Code cleanup - remove unnecessary path
---
.vscode/settings.json | 3 +++
src/main/java/org/apache/sling/security/impl/ReferrerFilter.java | 1 -
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/.vscode/settings.json b/.vscode/settings.json
new file mode 100644
index 0000000..c5f3f6b
--- /dev/null
+++ b/.vscode/settings.json
@@ -0,0 +1,3 @@
+{
+ "java.configuration.updateBuildConfiguration": "interactive"
+}
\ No newline at end of file
diff --git a/src/main/java/org/apache/sling/security/impl/ReferrerFilter.java b/src/main/java/org/apache/sling/security/impl/ReferrerFilter.java
index ff27578..1ca775f 100644
--- a/src/main/java/org/apache/sling/security/impl/ReferrerFilter.java
+++ b/src/main/java/org/apache/sling/security/impl/ReferrerFilter.java
@@ -58,7 +58,6 @@ import org.slf4j.LoggerFactory;
@Component(
service = Preprocessor.class,
property = {
- HttpWhiteboardConstants.HTTP_WHITEBOARD_FILTER_PATTERN + "=/",
HttpWhiteboardConstants.HTTP_WHITEBOARD_CONTEXT_SELECT + "=(" + HttpWhiteboardConstants.HTTP_WHITEBOARD_CONTEXT_NAME + "=*)"
}
)