Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C101C10EC5 for ; Sat, 3 Aug 2013 16:59:57 +0000 (UTC) Received: (qmail 48651 invoked by uid 500); 3 Aug 2013 16:59:53 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 48500 invoked by uid 500); 3 Aug 2013 16:59:52 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 48474 invoked by uid 99); 3 Aug 2013 16:59:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Aug 2013 16:59:52 +0000 Date: Sat, 3 Aug 2013 16:59:52 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: dev@couchdb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (COUCHDB-1493) null byte in string data dropped MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COUCHDB-1493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13728589#comment-13728589 ] ASF subversion and git services commented on COUCHDB-1493: ---------------------------------------------------------- Commit e0a9f38cfec4a2bf5ca508c0a393c83826795b50 in branch refs/heads/master from [~adamlofts] [ https://git-wip-us.apache.org/repos/asf?p=couchdb.git;h=e0a9f38 ] Add tests for COUCHDB-1493 > 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