You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Colm O hEigeartaigh (Jira)" <ji...@apache.org> on 2021/06/22 06:22:00 UTC

[jira] [Commented] (CXF-8555) JsonMapObjectReaderWriter escapes now any back slash

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

Colm O hEigeartaigh commented on CXF-8555:
------------------------------------------

See [https://www.freeformatter.com/json-escape.html]

"The following characters are reserved in JSON and must be properly escaped to be used in strings: 

...
 * *Backslash* is replaced with *\\*"

> JsonMapObjectReaderWriter escapes now any back slash
> ----------------------------------------------------
>
>                 Key: CXF-8555
>                 URL: https://issues.apache.org/jira/browse/CXF-8555
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 3.4.4
>            Reporter: Jérôme cabaret
>            Priority: Major
>
> Since the correction [CXF-8435|https://issues.apache.org/jira/browse/CXF-8435], any back-slash in a claim value is duplicated. This correction that was supposed to escape only double-quote, escapes now any existing back-slash (See line 371 of JsonMapObjectReaderWriter class).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)