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 C622987FB for ; Tue, 13 Sep 2011 18:55:34 +0000 (UTC) Received: (qmail 63748 invoked by uid 500); 13 Sep 2011 18:55:34 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 63592 invoked by uid 500); 13 Sep 2011 18:55:33 -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 63243 invoked by uid 99); 13 Sep 2011 18:55:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Sep 2011 18:55:33 +0000 X-ASF-Spam-Status: No, hits=-2000.5 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; Tue, 13 Sep 2011 18:55:30 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C37B596AB9 for ; Tue, 13 Sep 2011 18:55:09 +0000 (UTC) Date: Tue, 13 Sep 2011 18:55:09 +0000 (UTC) From: "Jan Lehnardt (JIRA)" To: dev@couchdb.apache.org Message-ID: <1420874107.23509.1315940109797.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <479617811.9570.1311198238827.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (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: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-1229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Lehnardt resolved COUCHDB-1229. ----------------------------------- Resolution: Fixed Fix Version/s: 1.2 1.1.1 Added a test case and applied to trunk and 1.1.x > _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 > Fix For: 1.1.1, 1.2 > > 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