From couchdb-dev-return-515-apmail-incubator-couchdb-dev-archive=incubator.apache.org@incubator.apache.org Wed Jun 04 12:46:24 2008 Return-Path: Delivered-To: apmail-incubator-couchdb-dev-archive@locus.apache.org Received: (qmail 46831 invoked from network); 4 Jun 2008 12:46:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Jun 2008 12:46:23 -0000 Received: (qmail 11582 invoked by uid 500); 4 Jun 2008 12:46:11 -0000 Delivered-To: apmail-incubator-couchdb-dev-archive@incubator.apache.org Received: (qmail 11540 invoked by uid 500); 4 Jun 2008 12:46:11 -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 11504 invoked by uid 99); 4 Jun 2008 12:46:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jun 2008 05:46:11 -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; Wed, 04 Jun 2008 12:45:23 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 592F6234C13D for ; Wed, 4 Jun 2008 05:45:45 -0700 (PDT) Message-ID: <837178510.1212583545364.JavaMail.jira@brutus> Date: Wed, 4 Jun 2008 05:45:45 -0700 (PDT) From: "Shawn Garbett (JIRA)" To: couchdb-dev@incubator.apache.org Subject: [jira] Commented: (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:comment-tabpanel&focusedCommentId=12602266#action_12602266 ] Shawn Garbett commented on COUCHDB-49: -------------------------------------- Minor Nit? Line 60-62 of couch_httpd.erl says: % for the path, use the raw path with the query string and fragment % removed, but URL quoting left intact {Path, _, _} = mochiweb_util:urlsplit_path(Req:get(raw_path)), Should this comment be changed to reflect this modification? > 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 > Assignee: Christopher Lenz > 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.