sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Pauls (JIRA)" <>
Subject [jira] [Updated] (SLING-6685) Replace commons.json usage in
Date Wed, 22 Mar 2017 15:51:41 GMT


Karl Pauls updated SLING-6685:
    Attachment: SLING-6685.patch

This one is a tricky one. The patch does replace the usage with johnzon - however, the xss
impl used the org.json code to parse not wellformed json and return it as wellformed json.

The johnzon parser only supports wellformed json so it throws exceptions much earlier. For
that reason, one of the tests in this bundle does fail after applying the patch. 

The question is if we need to use some different for the parsing (and keep the functionality)
or whether we think this is ok and correct the test?

> Replace commons.json usage in
> --------------------------------------------------
>                 Key: SLING-6685
>                 URL:
>             Project: Sling
>          Issue Type: Sub-task
>          Components: XSS Protection API
>    Affects Versions: XSS Protection API 1.0.18
>            Reporter: Karl Pauls
>            Assignee: Karl Pauls
>             Fix For: XSS Protection API 1.0.20
>         Attachments: SLING-6685.patch

This message was sent by Atlassian JIRA

View raw message