couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject svn commit: r778949 - /couchdb/trunk/src/couchdb/couch_httpd_external.erl
Date Wed, 27 May 2009 01:16:49 GMT
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,



Mime
View raw message