incubator-couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-1493) null byte in string data dropped
Date Sat, 03 Aug 2013 16:59:52 GMT

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

ASF subversion and git services commented on COUCHDB-1493:
----------------------------------------------------------

Commit 02416a1bcb12fa7391cceddd0268e1c2f2a3fc01 in branch refs/heads/master from [~dch]
[ https://git-wip-us.apache.org/repos/asf?p=couchdb.git;h=02416a1 ]

COUCHDB-1493 include yajl patch in EJSON to avoid skipping unicode zero byte values

                
> 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
>            Priority: Blocker
>             Fix For: 1.4
>
>         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

Mime
View raw message