Allow for bind variables in complex query keys for URL rewriter ---------------------------------------------------------------
Key: COUCHDB-699 URL: https://issues.apache.org/jira/browse/COUCHDB-699 Project: CouchDB Issue Type: Improvement Components: HTTP Interface Affects Versions: 0.11 Environment: CouchDB 0.11.x branch Reporter: Zachary Zolton Priority: Minor Enhance URL rewriter module to substitute bound variables in complex query parameters. Given the URL rewrite rule: { "from": "/events/:year", "to": "_list/event-list/events-by-date", "method": "GET", "query": { "startkey": [":year"], "endkey": [":year", {}] } } A request like: /db/_design/ddoc/_rewrite/events/1980 Should rewrite to: /db/_design/ddoc/_list/event-list/events-by-date?startkey=[1980]&endkey=[1980,{}] (URI encoding of the query parameter values notwithstanding.) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.