summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Joseph Davis <davisp@apache.org>2009-05-27 01:16:48 +0000
committerPaul Joseph Davis <davisp@apache.org>2009-05-27 01:16:48 +0000
commitdbabd6616febf5585be567695dd61a27bc463092 (patch)
tree01973b2fc2c7c8d26e76d3bf610226695a6d7059 /src
parentb2ee027d7ec8f6b1f26ac3558924e145c5025aa4 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/couchdb/couch_httpd_external.erl2
1 files changed, 1 insertions, 1 deletions
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,