You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Robert Newson (JIRA)" <ji...@apache.org> on 2013/04/08 14:45:18 UTC

[jira] [Commented] (COUCHDB-1493) null byte in string data dropped

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

Robert Newson commented on COUCHDB-1493:
----------------------------------------

+! for jiffy
                
> null byte in string data dropped
> --------------------------------
>
>                 Key: COUCHDB-1493
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1493
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>    Affects Versions: 1.2
>            Reporter: Eli Stevens
>            Assignee: Dave Cottlehuber
>         Attachments: yajl.patch
>
>
>  curl -X POST http://localhost:5984/test/ -H "Content-Type: application/json" -d '{"b":"b\u0000b"}'
> Results in the following document:
> {
>    "_id": "abd492c1f26d0b404111b2324c004537",
>    "_rev": "1-b7d9864e38fd32678f0e7994f6672709",
>    "b": "bb"
> }
> I'm not sure what the intended behavior is, but it's a change from 1.1 (1.1.1?  I don't recall the exact version I had before upgrading).

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

Re: [jira] [Commented] (COUCHDB-1493) null byte in string data dropped

Posted by Klaus Trainer <kl...@posteo.de>.
+1 for Jiffy, too!


On Mon, 2013-04-08 at 12:45 +0000, Robert Newson (JIRA) wrote:
>     [ https://issues.apache.org/jira/browse/COUCHDB-1493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13625334#comment-13625334 ] 
> 
> Robert Newson commented on COUCHDB-1493:
> ----------------------------------------
> 
> +! for jiffy
>                 
> > null byte in string data dropped
> > --------------------------------
> >
> >                 Key: COUCHDB-1493
> >                 URL: https://issues.apache.org/jira/browse/COUCHDB-1493
> >             Project: CouchDB
> >          Issue Type: Bug
> >          Components: Database Core
> >    Affects Versions: 1.2
> >            Reporter: Eli Stevens
> >            Assignee: Dave Cottlehuber
> >         Attachments: yajl.patch
> >
> >
> >  curl -X POST http://localhost:5984/test/ -H "Content-Type: application/json" -d '{"b":"b\u0000b"}'
> > Results in the following document:
> > {
> >    "_id": "abd492c1f26d0b404111b2324c004537",
> >    "_rev": "1-b7d9864e38fd32678f0e7994f6672709",
> >    "b": "bb"
> > }
> > I'm not sure what the intended behavior is, but it's a change from 1.1 (1.1.1?  I don't recall the exact version I had before upgrading).
> 
> --
> 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