couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Joseph Davis (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COUCHDB-49) A patch for the _design%2Fname hack.
Date Sun, 25 May 2008 22:21:55 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-49?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12599729#action_12599729
] 

Paul Joseph Davis commented on COUCHDB-49:
------------------------------------------

I see where you're coming from. But I'm left with the question of whether _design is part
of the document name or if _design is more of a namespace for design documents.

Personally, I could see it going either way, but I haven't groked the internals enough to
know if there's a reason somewhere else that requires the _design as an actual part of the
name or not.

> 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.


Mime
View raw message