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

ASF subversion and git services commented on LOG4J2-2120:
---------------------------------------------------------

Commit d44f4527747a24ea0037aba6fdfd16962ace35c3 in logging-log4j2's branch 
refs/heads/master from [~ckozak]
[ https://git-wip-us.apache.org/repos/asf?p=logging-log4j2.git;h=d44f452 ]

LOG4J2-2120: Json escaping handles newline correctly


> 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
>
> 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)

Reply via email to