couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject chttpd commit: updated refs/heads/master to ddba207
Date Tue, 10 Nov 2015 22:19:21 GMT
Repository: couchdb-chttpd
Updated Branches:
  refs/heads/master a57e86994 -> ddba20778


Fix compilation warning


Project: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/commit/ddba2077
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/tree/ddba2077
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/diff/ddba2077

Branch: refs/heads/master
Commit: ddba2077823b92ad66d26e2bba34d695b3838468
Parents: a57e869
Author: Alexander Shorin <kxepal@apache.org>
Authored: Wed Nov 11 01:17:36 2015 +0300
Committer: Alexander Shorin <kxepal@apache.org>
Committed: Wed Nov 11 01:17:36 2015 +0300

----------------------------------------------------------------------
 src/chttpd_db.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/blob/ddba2077/src/chttpd_db.erl
----------------------------------------------------------------------
diff --git a/src/chttpd_db.erl b/src/chttpd_db.erl
index d4e29cb..9aa0474 100644
--- a/src/chttpd_db.erl
+++ b/src/chttpd_db.erl
@@ -578,7 +578,7 @@ db_req(#httpd{path_parts=[_,<<"_revs_limit">>]}=Req, _Db)
->
 
 % Special case to enable using an unencoded slash in the URL of design docs,
 % as slashes in document IDs must otherwise be URL encoded.
-db_req(#httpd{method='GET', mochi_req=MochiReq, path_parts=[DbName, <<"_design/", _/binary>>
| _]}=Req, _Db) ->
+db_req(#httpd{method='GET', mochi_req=MochiReq, path_parts=[_DbName, <<"_design/",
_/binary>> | _]}=Req, _Db) ->
     [Head | Tail] = re:split(MochiReq:get(raw_path), "_design%2F", [{return, list}, caseless]),
     chttpd:send_redirect(Req, Head ++ "_design/" ++ Tail);
 


Mime
View raw message