Return-Path: Delivered-To: apmail-incubator-couchdb-dev-archive@locus.apache.org Received: (qmail 2070 invoked from network); 29 Apr 2008 21:53:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Apr 2008 21:53:40 -0000 Received: (qmail 60072 invoked by uid 500); 29 Apr 2008 21:53:38 -0000 Delivered-To: apmail-incubator-couchdb-dev-archive@incubator.apache.org Received: (qmail 59992 invoked by uid 500); 29 Apr 2008 21:53:38 -0000 Mailing-List: contact couchdb-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-dev@incubator.apache.org Delivered-To: mailing list couchdb-dev@incubator.apache.org Received: (qmail 59946 invoked by uid 99); 29 Apr 2008 21:53:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Apr 2008 14:53:38 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Apr 2008 21:53:02 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 98AD9234C0FD for ; Tue, 29 Apr 2008 14:49:55 -0700 (PDT) Message-ID: <33307546.1209505795610.JavaMail.jira@brutus> Date: Tue, 29 Apr 2008 14:49:55 -0700 (PDT) From: "Paul Joseph Davis (JIRA)" To: couchdb-dev@incubator.apache.org Subject: [jira] Updated: (COUCHDB-49) A patch for the _design%2Fname hack. In-Reply-To: <2001591868.1209505675687.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-49?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul Joseph Davis updated COUCHDB-49: ------------------------------------- Attachment: design_url_escape.patch Hopefully this passes muster. > A patch for the _design%2Fname hack. > ------------------------------------ > > Key: COUCHDB-49 > URL: https://issues.apache.org/jira/browse/COUCHDB-49 > Project: CouchDB > Issue Type: Bug > Components: HTTP Interface > Reporter: Paul Joseph Davis > Priority: Minor > Attachments: design_url_escape.patch > > > I think I've managed to make a trivial patch so that design documents can be accessed without the %2F hackery. Its pretty simple. Any request that starts with _design is joined back with it's url and then sent to handle_doc_request/5 methods. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.