# HG changeset patch # User Christophe de Vienne # Date 1409683797 -7200 # Node ID 8701caf9edf03cb8e708d65ce0b9c46389b20fa7 # Parent ddf61aa73384d8520c47a7bd68671c9355cbb9b2 Correctly pass the multiple parameters to the cubicweb request When naively converted to a dict, the webob MultiDict will not set the multiple parameters (a same name with several values) in a way CW can understand. MultiDict.mixed() however, does exactly what CW needs: list values for keys with multiple values, and single value for the others. Related to #4291181 diff -r ddf61aa73384 -r 8701caf9edf0 pyramid_cubicweb/core.py --- a/pyramid_cubicweb/core.py Thu Aug 28 15:42:51 2014 +0200 +++ b/pyramid_cubicweb/core.py Tue Sep 02 20:49:57 2014 +0200 @@ -59,7 +59,7 @@ vreg = request.registry['cubicweb.registry'] https = request.scheme == 'https' - post = request.params + post = request.params.mixed() headers_in = request.headers super(CubicWebPyramidRequest, self).__init__(vreg, https, post,