You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Nils Breunese (JIRA)" <ji...@apache.org> on 2012/12/07 14:59:22 UTC

[jira] [Updated] (COUCHDB-1624) CouchDB shouldn't accept or serve JSON with control-characters

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

Nils Breunese updated COUCHDB-1624:
-----------------------------------

    Affects Version/s: 1.2
    
> CouchDB shouldn't accept or serve JSON with control-characters
> --------------------------------------------------------------
>
>                 Key: COUCHDB-1624
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1624
>             Project: CouchDB
>          Issue Type: Bug
>    Affects Versions: 1.2
>            Reporter: Nils Breunese
>
> According to http://www.json.org/ control-characters are not valid characters in JSON. Due to a character encoding bug one of our applications was sending JSON with control-characters to CouchDB. CouchDB happily accepts this (invalid) JSON and also serves it, but then we started getting problems in a client that uses the Svenson JSON library which (correctly) complains about invalid characters in the JSON served by CouchDB.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira