commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (LANG-1395) JsonToStringStyle does not escape double quote in a string value
Date Wed, 09 May 2018 17:30:00 GMT

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

Sebb resolved LANG-1395.
------------------------
    Resolution: Fixed

LANG-1395 - JsonToStringStyle does not escape double quote in a string
value

Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/e7d16c27
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/e7d16c27
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/e7d16c27


> JsonToStringStyle does not escape double quote in a string value
> ----------------------------------------------------------------
>
>                 Key: LANG-1395
>                 URL: https://issues.apache.org/jira/browse/LANG-1395
>             Project: Commons Lang
>          Issue Type: Bug
>            Reporter: Sebb
>            Priority: Major
>
> From the user mailing list [1]:
> JsonToStringStyle does not escape double quote in a string value
> JSON requires double-quote to be escaped with a back-slash.
> This does not happen currently.
> Nor does the code translate control characters such as NL and FF correctly.
> AFAICT the code is only guaranateed to process alphanumeric strings correctly.
> [1] https://lists.apache.org/thread.html/10bb632e86c473d58656431ad2702e058c58585e1a2edf1bf4a46824@%3Cuser.commons.apache.org%3E



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message