You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Joerg Hoh (Jira)" <ji...@apache.org> on 2026/09/15 15:51:00 UTC

[jira] [Updated] (SLING-13337) Support JSON comments if Johnzon is used as JSON parser

     [ https://issues.apache.org/jira/browse/SLING-13337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joerg Hoh updated SLING-13337:
------------------------------
    Summary: Support JSON comments if Johnzon is used as JSON parser  (was: Switch testing to use Johnzon)

> Support JSON comments if Johnzon is used as JSON parser
> -------------------------------------------------------
>
>                 Key: SLING-13337
>                 URL: https://issues.apache.org/jira/browse/SLING-13337
>             Project: Sling
>          Issue Type: Improvement
>          Components: XSS Protection API
>            Reporter: Joerg Hoh
>            Assignee: Joerg Hoh
>            Priority: Major
>             Fix For: XSS Protection API 2.4.12
>
>
> use Johnzon instead of Jakarta JSON, as we use Johnzon in the Sling Starter as well. 
> Also adding a validation explicitly targetting JSON comments (which Johnzon supports) to avoid StackOverflows in the in-depth scanner before the data is passed to the JSON parser.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)