couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Lenz (JIRA)" <>
Subject [jira] Commented: (COUCHDB-49) A patch for the _design%2Fname hack.
Date Wed, 04 Jun 2008 10:41:44 GMT


Christopher Lenz commented on COUCHDB-49:

Damien said on IRC he didn't have a problem with special-casing design doc URLs as you suggest.

What finally pushed me over in favor of this is the Apache's mod_proxy unescapes URLs, so
in such a setup, CouchDB would actually see the raw slash. While it's clear that mod_proxy
is broken here (at least in reverse proxying mode), I do want to be able to at least edit
my design docs in Futon when going through the proxy. :P

> A patch for the _design%2Fname hack.
> ------------------------------------
>                 Key: COUCHDB-49
>                 URL:
>             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.

View raw message