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 7D3E9172DE for ; Thu, 30 Oct 2014 14:27:34 +0000 (UTC) Received: (qmail 1684 invoked by uid 500); 30 Oct 2014 14:27:34 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 1620 invoked by uid 500); 30 Oct 2014 14:27:34 -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 1608 invoked by uid 99); 30 Oct 2014 14:27:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Oct 2014 14:27:34 +0000 Date: Thu, 30 Oct 2014 14:27:34 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: dev@couchdb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (COUCHDB-708) Newlines in document locations break header parsing 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-708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14190115#comment-14190115 ] ASF GitHub Bot commented on COUCHDB-708: ---------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/couchdb-chttpd/pull/7 > Newlines in document locations break header parsing > --------------------------------------------------- > > Key: COUCHDB-708 > URL: https://issues.apache.org/jira/browse/COUCHDB-708 > Project: CouchDB > Issue Type: Bug > Components: Database Core > Affects Versions: 0.10.1 > Environment: ubuntu > Reporter: Tim > Assignee: Robert Kowalski > Priority: Critical > Attachments: couchdb-urlencode-location.patch > > > Newlines in document locations break header parsing. Potential header injection issues? > $ curl -X DELETE http://localhost:5984/testdb > {"ok":true} > $ curl -X PUT http://localhost:5984/testdb > {"ok":true} > $ curl -i -X PUT -d '{}' 'http://localhost:5984/testdb/docid%0A' > HTTP/1.1 201 Created > Server: CouchDB/0.10.1 (Erlang OTP/R13B) > Location: http://localhost:5984/testdb/docid > Etag: "1-967a00dff5e02add41819138abb3284d" > Date: Wed, 24 Mar 2010 12:33:25 GMT > Content-Type: text/plain;charset=utf-8 > Content-Length: 70 > Cache-Control: must-revalidate > {"ok":true,"id":"docid\n","rev":"1-967a00dff5e02add41819138abb3284d"} -- This message was sent by Atlassian JIRA (v6.3.4#6332)