couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Francis Chong (JIRA)" <j...@apache.org>
Subject [jira] [Created] (COUCHDB-1159) Rewrite Handler do not work together with source URL having extension
Date Wed, 11 May 2011 10:00:47 GMT
Rewrite Handler do not work together with source URL having extension
---------------------------------------------------------------------

                 Key: COUCHDB-1159
                 URL: https://issues.apache.org/jira/browse/COUCHDB-1159
             Project: CouchDB
          Issue Type: Bug
          Components: HTTP Interface
    Affects Versions: 1.0.2
         Environment: 1.0.2
            Reporter: Francis Chong


URL rewrite work well for URL with path, such as ...

[
  {
      "from": ":a/:b/:c",
      "to": "_view/test",
      "method": "GET",
      "query": {
        "key": [":a", ":b", ":c"]
      }
  }
]

However it cannot handle URL with extension: 

[
  {
      "from": ":a/:b/:c.json",
      "to": "_view/test",
      "method": "GET",
      "query": {
        "key": [":a", ":b", ":c"]
      }
  }
]

It tries to rewrite ":c.json" instead of ":c", and it seems there are no workaround to use
URL with extension.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message