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


##########
src/main/java/org/apache/sling/xss/impl/HtmlToHtmlContentContext.java:
##########
@@ -62,21 +58,17 @@ public boolean check(final PolicyHandler policyHandler, 
final String str) {
      * @see XSSFilterRule#filter(PolicyHandler, java.lang.String)
      */
     @Override
-    public String filter(final PolicyHandler policyHandler, final String str) {
-        if (StringUtils.isNotEmpty(str)) {
+    public String filter(final PolicyHandler policyHandler, final String 
malicousString) {

Review Comment:
   Resolved: 7d9e82449f514b2fce6ba4c3aa4ec0df70daf8bb



-- 
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: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to