Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 45472 invoked from network); 5 Jun 2010 14:20:21 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Jun 2010 14:20:21 -0000 Received: (qmail 282 invoked by uid 500); 5 Jun 2010 14:20:20 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 205 invoked by uid 500); 5 Jun 2010 14:20:19 -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 197 invoked by uid 99); 5 Jun 2010 14:20:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Jun 2010 14:20:19 +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; Sat, 05 Jun 2010 14:20:17 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o55EJtjj022775 for ; Sat, 5 Jun 2010 14:19:55 GMT Message-ID: <5019499.198821275747595856.JavaMail.jira@thor> Date: Sat, 5 Jun 2010 10:19:55 -0400 (EDT) From: =?utf-8?Q?Aur=C3=A9lien_B=C3=A9nel_=28JIRA=29?= To: dev@couchdb.apache.org Subject: [jira] Created: (COUCHDB-787) Rewrite handler not rewriting query string parameters MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Rewrite handler not rewriting query string parameters ----------------------------------------------------- Key: COUCHDB-787 URL: https://issues.apache.org/jira/browse/COUCHDB-787 Project: CouchDB Issue Type: Improvement Components: HTTP Interface Affects Versions: 0.11 Environment: Mac OS 10.6.3 Reporter: Aur=C3=A9lien B=C3=A9nel Priority: Minor In order to implement the following rewrite rule: custom/?parameter=3DFOO -> _list/aList/aView?startkey=3D["FOO"]&endkey= =3D["FOO",{}] it would make sense to write: [{ "from": "/custom/?parameter=3D:parameter", "to": "_list/aList/aView", "query": { "startkey": [":parameter"], "endkey": [":parameter",{}] } }] Note: I also tried: [{ "from": "/custom", "to": "_list/aList/aView", "query": { "startkey": [":parameter"], "endkey": [":parameter",{}] } }] but it didn't work either (and would have offered a slightly different inte= rface). --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.