You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2009/05/27 03:16:49 UTC
svn commit: r778949 - /couchdb/trunk/src/couchdb/couch_httpd_external.erl
Author: davisp
Date: Wed May 27 01:16:48 2009
New Revision: 778949
URL: http://svn.apache.org/viewvc?rev=778949&view=rev
Log:
Fixes COUCHDB-363
Applying the patch provided by Benoit Chesneau for 363 which fixes an error when POST'ing to _external handlers.
Modified:
couchdb/trunk/src/couchdb/couch_httpd_external.erl
Modified: couchdb/trunk/src/couchdb/couch_httpd_external.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_httpd_external.erl?rev=778949&r1=778948&r2=778949&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_httpd_external.erl (original)
+++ couchdb/trunk/src/couchdb/couch_httpd_external.erl Wed May 27 01:16:48 2009
@@ -65,7 +65,7 @@
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,