kwin commented on code in PR #28:
URL: 
https://github.com/apache/sling-org-apache-sling-xss/pull/28#discussion_r915089862


##########
pom.xml:
##########
@@ -188,21 +177,27 @@
     <!-- 
======================================================================= -->
     <dependencies>
         <dependency>
-            <groupId>org.owasp.antisamy</groupId>
-            <artifactId>antisamy</artifactId>
-            <version>1.6.4</version>
+            <groupId>com.googlecode.owasp-java-html-sanitizer</groupId>
+            <artifactId>owasp-java-html-sanitizer</artifactId>
+            <version>20211018.2</version>
+            <scope>provided</scope>

Review Comment:
   Maybe we can even consider deploying it as separate bundle instead of 
wrapping it, 
https://github.com/OWASP/java-html-sanitizer/blob/37569793a12238424ebd1c2ccfc7db011b327088/pom.xml#L62
 although it seems to have imports on Google Guava which seem hard to resolve:
   
   ```
   ....
   Import-Package: com.google.common.base;version="[30.1,31)",com.google.
    common.collect;version="[30.1,31)",com.google.common.io;version="[30.
    1,31)",javax.annotation;version="[3.0,4)"
   ....
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to