From 14bc90f931430c7cc3bf2af3f09874445dac7d29 Mon Sep 17 00:00:00 2001 From: Benoit Chesneau Date: Mon, 1 Mar 2010 14:57:28 +0000 Subject: fix issue COUCHDB-678 applying patch from Filipe Manana. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@917553 13f79535-47bb-0310-9956-ffa450edef68 --- src/couchdb/couch_httpd.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/couchdb/couch_httpd.erl b/src/couchdb/couch_httpd.erl index ae7d6c02..b25242fd 100644 --- a/src/couchdb/couch_httpd.erl +++ b/src/couchdb/couch_httpd.erl @@ -137,7 +137,7 @@ stop() -> redirect_to_vhost(MochiReq, DefaultFun, UrlHandlers, DbUrlHandlers, DesignUrlHandlers, VhostTarget) -> - Path = MochiReq:get(path), + Path = MochiReq:get(raw_path), Target = VhostTarget ++ Path, ?LOG_DEBUG("Vhost Target: '~p'~n", [Target]), % build a new mochiweb request -- cgit v1.2.3