[web/formwidgets] fix for py3k
no idea why we encode that key...
--- a/web/formwidgets.py Mon Oct 05 16:47:55 2015 +0200
+++ b/web/formwidgets.py Mon Oct 05 16:52:26 2015 +0200
@@ -1011,7 +1011,7 @@
except ValueError:
raise ProcessFormError(req._("wrong query parameter line %s") % (i+1))
# value will be url quoted by build_url_params
- values.setdefault(key.encode(req.encoding), []).append(val)
+ values.setdefault(key, []).append(val)
if not values:
return path
return u'%s?%s' % (path, req.build_url_params(**values))