You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2026/01/15 16:57:02 UTC
(sling-org-apache-sling-xss) 01/01: SLING-13060 - Update to parent pom 65
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch issue/SLING-13060
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-xss.git
commit 32f7274afdbcd6cb231d485a6b69afcc30b530f6
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Thu Jan 15 17:56:33 2026 +0100
SLING-13060 - Update to parent pom 65
---
pom.xml | 2 +-
src/main/java/org/apache/sling/xss/impl/AntiSamyPolicyAdapter.java | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/pom.xml b/pom.xml
index 7366772..7d47298 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.sling</groupId>
<artifactId>sling-bundle-parent</artifactId>
- <version>62</version>
+ <version>65</version>
<relativePath />
</parent>
diff --git a/src/main/java/org/apache/sling/xss/impl/AntiSamyPolicyAdapter.java b/src/main/java/org/apache/sling/xss/impl/AntiSamyPolicyAdapter.java
index e524fbc..8cae999 100644
--- a/src/main/java/org/apache/sling/xss/impl/AntiSamyPolicyAdapter.java
+++ b/src/main/java/org/apache/sling/xss/impl/AntiSamyPolicyAdapter.java
@@ -109,16 +109,16 @@ public class AntiSamyPolicyAdapter {
String tagAction = tag.getValue().getAction();
switch (tagAction) {
- // Tag.action
+ // Tag.action
case AntiSamyActions.TRUNCATE:
policyBuilder.allowElements(tag.getValue().getName());
break;
- // filter: remove tags, but keep content,
+ // filter: remove tags, but keep content,
case AntiSamyActions.FILTER:
break;
- // remove: remove tag and contents
+ // remove: remove tag and contents
case AntiSamyActions.REMOVE:
policyBuilder.disallowElements(tag.getValue().getName());
break;