# HG changeset patch # User Julien Cristau # Date 1444056746 -7200 # Node ID a688ef1a12eb5266b606fb33d8135735f0d6cf29 # Parent c3ed65f23181d1f9d7b2c955a441e43dab8b99ad [web/formwidgets] fix for py3k no idea why we encode that key... diff -r c3ed65f23181 -r a688ef1a12eb web/formwidgets.py --- 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))