couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shawn Garbett (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COUCHDB-49) A patch for the _design%2Fname hack.
Date Wed, 04 Jun 2008 12:45:45 GMT

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


Mime
View raw message