You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Seifert (JIRA)" <ji...@apache.org> on 2017/03/22 22:03:41 UTC

[jira] [Commented] (SLING-6685) Replace commons.json usage in org.apache.sling.xss

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

Stefan Seifert commented on SLING-6685:
---------------------------------------

the xss bundle exists for a long time, and i'm not sure if code that uses it relies on this "magic JSON repair" features. same may apply to jcr content loader.

personally i would vote to switch to JSON strict mode (but perhaps with allowing JSON comments, johnzon has a config flag for this {{org.apache.johnzon.supports-comments}}) - here and for jcr content loader as well.

> Replace commons.json usage in org.apache.sling.xss
> --------------------------------------------------
>
>                 Key: SLING-6685
>                 URL: https://issues.apache.org/jira/browse/SLING-6685
>             Project: Sling
>          Issue Type: Sub-task
>          Components: XSS Protection API
>    Affects Versions: XSS Protection API 1.0.18
>            Reporter: Karl Pauls
>            Assignee: Karl Pauls
>              Labels: patch-available
>             Fix For: XSS Protection API 1.0.20
>
>         Attachments: SLING-6685.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)