From 0e646fc6ff9cf4526410fddaf508c7153d1cf3ce Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Fri, 2 Sep 2011 12:44:29 +0200 Subject: [PATCH] [FIX][NotSure] CherryPy merges the GET and POST args into a single params dict, do the same with Werkzeug request data bzr revid: xmo@openerp.com-20110902104429-xn3si286s8x5s64f --- addons/base/common/dispatch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/base/common/dispatch.py b/addons/base/common/dispatch.py index 38f2d7dc159..3f35a09f7fa 100644 --- a/addons/base/common/dispatch.py +++ b/addons/base/common/dispatch.py @@ -167,7 +167,7 @@ class HttpRequest(WebRequest): """ Regular GET/POST request """ def dispatch(self, controller, method): - self.init(self.httprequest.args) + self.init(dict(self.httprequest.args, **self.httprequest.form)) akw = {} for key, value in self.httprequest.args.iteritems(): if isinstance(value, basestring) and len(value) < 1024: