Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A50D27174 for ; Wed, 20 Jul 2011 22:22:23 +0000 (UTC) Received: (qmail 20891 invoked by uid 500); 20 Jul 2011 22:22:23 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 20717 invoked by uid 500); 20 Jul 2011 22:22:22 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 20709 invoked by uid 99); 20 Jul 2011 22:22:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jul 2011 22:22:21 +0000 X-ASF-Spam-Status: No, hits=-2001.1 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jul 2011 22:22:19 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 70D744B6ED for ; Wed, 20 Jul 2011 22:21:58 +0000 (UTC) Date: Wed, 20 Jul 2011 22:21:58 +0000 (UTC) From: "Simon Leblanc (JIRA)" To: dev@couchdb.apache.org Message-ID: <456528413.9631.1311200518458.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <479617811.9570.1311198238827.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (COUCHDB-1229) _update handler doesn't support slashes in doc _id MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-1229?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D13= 068676#comment-13068676 ]=20 Simon Leblanc commented on COUCHDB-1229: ---------------------------------------- Hum, too bad. I find this very useful. I hesitated between using : or / as a separator and I went for / since it w= orked nicely with the rewrite handler. I think either / should be allowed or we need a more powerful rewrite handl= er since not using slashes will make thing much more complicated for me=E2= =80=A6 Thanks for your answer! > _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 > Labels: URI, id, update > > 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 _upd= ate/baz/foo%2Fbar works. > This is particularly annoying when you want to rewrite /something/* to _u= pdate/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