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 F24F2102F3 for ; Tue, 21 Jan 2014 19:57:26 +0000 (UTC) Received: (qmail 91909 invoked by uid 500); 21 Jan 2014 19:57:24 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 91882 invoked by uid 500); 21 Jan 2014 19:57:24 -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 91854 invoked by uid 99); 21 Jan 2014 19:57:22 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jan 2014 19:57:22 +0000 Date: Tue, 21 Jan 2014 19:57:22 +0000 (UTC) From: "Adam Kocoloski (JIRA)" To: dev@couchdb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (COUCHDB-2031) Paths ending in '/' rewrite query string params incorrectly 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-2031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13877791#comment-13877791 ] Adam Kocoloski commented on COUCHDB-2031: ----------------------------------------- Heya [~benoitc] did you have a chance to take a look? > Paths ending in '/' rewrite query string params incorrectly > ----------------------------------------------------------- > > Key: COUCHDB-2031 > URL: https://issues.apache.org/jira/browse/COUCHDB-2031 > Project: CouchDB > Issue Type: Bug > Components: HTTP Interface > Reporter: Eric Drechsel > > Problem is discussed in this [SO thread|http://stackoverflow.com/questions/5059499/access-couch-db-database-url-through-rewritten-url-with-query-parameters]. > To summarize, with > {code:title=rewrites.js} > [ { "from": "/dbname/*", "to: ../../*" }, > { "from": "/*", "to: *" } ] > {code} > /dbname/?foo=bar doesn't work; it rewrites to /dbname/_design/..?foo=bar instead. -- This message was sent by Atlassian JIRA (v6.1.5#6160)