You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Mikael Ståldal (JIRA)" <ji...@apache.org> on 2017/11/30 19:26:00 UTC

[jira] [Closed] (LOG4J2-2120) Json escaping does not properly escape newlines and other control characters

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

Mikael Ståldal closed LOG4J2-2120.
----------------------------------

Released.

> Json escaping does not properly escape newlines and other control characters
> ----------------------------------------------------------------------------
>
>                 Key: LOG4J2-2120
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-2120
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Layouts
>    Affects Versions: 2.9.1
>            Reporter: Carter Douglas Kozak
>            Assignee: Mikael Ståldal
>             Fix For: 2.10.0
>
>
> Newline procudes the string "\u000A" where we expect literal "\n" (two individual characters). 
> The produced json is not parsable by some systems, pythoon -mjsontool for example.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)