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


##########
src/main/java/org/apache/sling/xss/impl/HtmlToHtmlContentContext.java:
##########
@@ -48,7 +44,7 @@ public boolean check(final PolicyHandler policyHandler, final 
String str) {
             ClassLoader tccl = Thread.currentThread().getContextClassLoader();
             try {
                 
Thread.currentThread().setContextClassLoader(this.getClass().getClassLoader());
-                return 
policyHandler.getAntiSamy().scan(str).getNumberOfErrors() == 0;
+                return true;

Review Comment:
   Resolved: f58ae059f156e8c92bd8cc638811e80f720b119f



-- 
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