You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Jan Lehnardt (JIRA)" <ji...@apache.org> on 2011/09/13 20:11:10 UTC
[jira] [Assigned] (COUCHDB-1229) _update handler doesn't support
slashes in doc _id
[ https://issues.apache.org/jira/browse/COUCHDB-1229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Lehnardt reassigned COUCHDB-1229:
-------------------------------------
Assignee: Jan Lehnardt
> _update handler doesn't support slashes in doc _id
> --------------------------------------------------
>
> Key: COUCHDB-1229
> URL: https://issues.apache.org/jira/browse/COUCHDB-1229
> Project: CouchDB
> Issue Type: Bug
> Components: HTTP Interface
> Affects Versions: 1.1
> Reporter: Simon Leblanc
> Assignee: Jan Lehnardt
> Labels: URI, id, update
> Attachments: COUCHDB-1229.patch
>
>
> 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).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira