[ 
https://issues.apache.org/jira/browse/SLING-4236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14241664#comment-14241664
 ] 

Radu Cotescu commented on SLING-4236:
-------------------------------------

That's still the case for the latest version of the {{Encode}} helper from 
https://code.google.com/p/owasp-java-encoder/source/browse/trunk/core/src/main/java/org/owasp/encoder/Encode.java.

> The XSSAPI's encode methods should return null for null input
> -------------------------------------------------------------
>
>                 Key: SLING-4236
>                 URL: https://issues.apache.org/jira/browse/SLING-4236
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: XSS Protection API 1.0.0
>            Reporter: Radu Cotescu
>
> The XSSAPI's encode methods should return {{null}} for {{null}} input. 
> Currently it seems that the default implementation based on the 
> {{owasp-java-encoder}} transforms {{null}} into {{"null"}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to