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

Paths ending in '/' rewrite query string params incorrectly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • HTTP Interface
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: