couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-2031) Paths ending in '/' rewrite query string params incorrectly
Date Sat, 25 Jan 2014 01:05:38 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-2031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13881578#comment-13881578
] 

ASF subversion and git services commented on COUCHDB-2031:
----------------------------------------------------------

Commit 37c8459693dbf55cd4683c7e288dcc9ca8899e97 in branch refs/heads/1953-fix-mime-multipart-parsing
from [~kocolosk]
[ https://git-wip-us.apache.org/repos/asf?p=couchdb.git;h=37c8459 ]

Merge branch '2031-fix-qs-rewrite'

Closes COUCHDB-2031


> 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)

Mime
View raw message