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

Database names are not encoded in the rewriter

    XMLWordPrintableJSON

    Details

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

      Description

      If a database includes special characters (such as / "forward slash"), then the rewriter will fail to find the correct database and send a 404 error:

      {"error":"not_found","reason":"no_db_file"}

      The attached patch simply adds a url_encode step around DbName.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bigbluehat Benjamin Young
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: