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

PUT to _local/doc_id creates document '_local'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.10
    • 0.10
    • None
    • None
    • Ubuntu 9.04

    Description

      After davisp's revision r796246 doing a put to a document id like '_local/doc_id' results in a visible, and apparently non-local document with id '_local'. When escaping the slash as '%2F' everything works as before, and expected, i.e. a local document with the above id is created.

      To test:

      curl -X PUT -d '

      {"foo": "bar"}

      ' http://127.0.0.1:5987/db1/_local/yokal

      result:

      {"ok":true,"id":"_local","rev":"1-770307fe8d4210bab8ec65c59983e03c"}

      Attachments

        Activity

          People

            paul.joseph.davis Paul Joseph Davis
            thisfred eric casteleijn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: