From dbabd6616febf5585be567695dd61a27bc463092 Mon Sep 17 00:00:00 2001 From: Paul Joseph Davis Date: Wed, 27 May 2009 01:16:48 +0000 Subject: Fixes COUCHDB-363 Applying the patch provided by Benoit Chesneau for 363 which fixes an error when POST'ing to _external handlers. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@778949 13f79535-47bb-0310-9956-ffa450edef68 --- src/couchdb/couch_httpd_external.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/couchdb/couch_httpd_external.erl b/src/couchdb/couch_httpd_external.erl index 22936e1f..836efbd6 100644 --- a/src/couchdb/couch_httpd_external.erl +++ b/src/couchdb/couch_httpd_external.erl @@ -65,7 +65,7 @@ json_req_obj(#httpd{mochi_req=Req, end, ParsedForm = case Req:get_primary_header_value("content-type") of "application/x-www-form-urlencoded" ++ _ -> - mochiweb_util:parse_qs(ReqBody); + mochiweb_util:parse_qs(Body); _ -> [] end, -- cgit v1.2.3