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

Christopher Lenz commented on COUCHDB-49:
-----------------------------------------

The URL encoding is not hackery. Slashes in document IDs are not allowed 
unencoded, and the document ID of a design document is still just a document 
ID. So requiring the slash to be encoded is more consistent, IMHO.

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

Reply via email to