Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 55173 invoked from network); 31 Aug 2010 04:23:18 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 31 Aug 2010 04:23:18 -0000 Received: (qmail 23158 invoked by uid 500); 31 Aug 2010 04:23:18 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 22777 invoked by uid 500); 31 Aug 2010 04:23:15 -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 22755 invoked by uid 99); 31 Aug 2010 04:23:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Aug 2010 04:23:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Aug 2010 04:23:13 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7V4Mrjt017400 for ; Tue, 31 Aug 2010 04:22:53 GMT Message-ID: <9384259.86111283228573072.JavaMail.jira@thor> Date: Tue, 31 Aug 2010 00:22:53 -0400 (EDT) From: "Adam Kocoloski (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Created: (COUCHDB-875) mochijson2 does not validate input strings after encountering an escape character MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 mochijson2 does not validate input strings after encountering an escape cha= racter ---------------------------------------------------------------------------= ------ Key: COUCHDB-875 URL: https://issues.apache.org/jira/browse/COUCHDB-875 Project: CouchDB Issue Type: Bug Affects Versions: 1.0.1, 0.11.2 Reporter: Adam Kocoloski Assignee: Adam Kocoloski Fix For: 0.11.3, 1.0.2 This example throws invalid_json (as it should, <<169>> is not a valid UTF-= 8 byte sequence) 1> couch_util:json_decode(<<$", "abc", 169, $">>). = =20 ** exception throw: {invalid_json,<<"\"abc=C2=A9\"">>} in function couch_util:json_decode/1 but this example does not 2> couch_util:json_decode(<<$", "abc\\n", 169, $">>). <<"abc\n=C2=A9">> --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.