CouchDB
  1. CouchDB
  2. COUCHDB-1229

_update handler doesn't support slashes in doc _id

    Details

    • Skill Level:
      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).

      1. COUCHDB-1229.patch
        1 kB
        Christopher Bonhage

        Activity

        Jan Lehnardt made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Fix Version/s 1.1.1 [ 12316395 ]
        Fix Version/s 1.2 [ 12315198 ]
        Resolution Fixed [ 1 ]
        Jan Lehnardt made changes -
        Assignee Jan Lehnardt [ janl ]
        Jan Lehnardt made changes -
        Resolution Won't Fix [ 2 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Christopher Bonhage made changes -
        Attachment COUCHDB-1229.patch [ 12490978 ]
        Robert Newson made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Won't Fix [ 2 ]
        Simon Leblanc created issue -

          People

          • Assignee:
            Jan Lehnardt
            Reporter:
            Simon Leblanc
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development