Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-2031

Paths ending in '/' rewrite query string params incorrectly

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: HTTP Interface
    • Labels:
      None

      Description

      Problem is discussed in this SO thread.

      To summarize, with

      rewrites.js
      [ { "from": "/dbname/*", "to: ../../*" },
        { "from": "/*", "to: *" } ]
      

      /dbname/?foo=bar doesn't work; it rewrites to /dbname/_design/..?foo=bar instead.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              edrex Eric Drechsel
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: