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

Unable to view/edit documents with spaces in document ID

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.7.2
    • 0.8
    • Futon
    • None
    • CouchDB trunk 0.7.3a644509, Erlang 5.6.2 on Linux

    Description

      Futon double-encodes the document ID, mangling spaces (and other characters?)
      ' ' -> '%25%20'

      I created a document named "test id" and tried to view it. Futon could not load the document. Log shows:

      [info] [<0.51.0>] HTTP Request: GET /test/test%2520me?revs_info=true HTTP/1.1
      [info] [<0.51.0>] HTTP Error (code 404): {obj,[

      {error,"not_found"}

      ,

      {reason,"missing"}

      ]}
      [info] [<0.51.0>] HTTP Response Code:404

      Attachments

        Activity

          People

            cmlenz Christopher Lenz
            koz Ivan Kozik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment