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

_update handler doesn't support slashes in doc _id

    XMLWordPrintableJSON

Details

    • Dont Know

    Description

      Let's say you have:

      • a doc with _id foo/bar
      • a show function named baz
      • a update function named baz

      Then _show/baz/foo/bar is valid but _update/baz/foo/bar is not. Only _update/baz/foo%2Fbar works.

      This is particularly annoying when you want to rewrite /something/* to _update/baz/foo/* (rewriting /something/* to _show/baz/foo/* works perfectly).

      Attachments

        1. COUCHDB-1229.patch
          1 kB
          Christopher Bonhage

        Activity

          People

            jan Jan Lehnardt
            simleb Simon Leblanc
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: