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 E57AF2682 for ; Thu, 5 May 2011 10:46:42 +0000 (UTC) Received: (qmail 45191 invoked by uid 500); 5 May 2011 10:46:42 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 45149 invoked by uid 500); 5 May 2011 10:46:42 -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 45141 invoked by uid 99); 5 May 2011 10:46:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 May 2011 10:46:42 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 May 2011 10:46:41 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 229EDC2427 for ; Thu, 5 May 2011 10:46:03 +0000 (UTC) Date: Thu, 5 May 2011 10:46:03 +0000 (UTC) From: "Armin Weisser (JIRA)" To: dev@couchdb.apache.org Message-ID: <410744435.24333.1304592363138.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (COUCHDB-1150) URL-Encoded DELETE Request returns 500 ( " vs. %22 ) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 URL-Encoded DELETE Request returns 500 ( " vs. %22 ) ---------------------------------------------------- Key: COUCHDB-1150 URL: https://issues.apache.org/jira/browse/COUCHDB-1150 Project: CouchDB Issue Type: Bug Components: HTTP Interface Affects Versions: 1.0.2 Environment: Windows 7 Pro, 64 bit HttpBuilder 0.5.1 curl 7.21.5 (i386-pc-win32) libcurl/7.21.5 OpenSSL/0.9.8r zlib/1.2.5 Reporter: Armin Weisser I'm facing an issue with URL-Encoded DELETE Requests where double quotes (") are translated to %22. These GETS are equivalent curl -X GET http://localhost:5984/mydb/_design/views/_view/accounts?key="4711" curl -X GET http://localhost:5984/mydb/_design/views/_view/accounts?key=%224711%22 This DELETE is OK curl -X DELETE http://localhost:5984/mydb/4711?rev="1-7511a58b76f9a9dec6a666ecc74302f6" But this one returns a 500 curl -X DELETE http://localhost:5984/mydb/4711?rev=%221-7511a58b76f9a9dec6a666ecc74302f6%22 The problem accurs in Java (using HttpBuilder 0.5.1) and on cmd shell (using curl). -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira