Issue #37 resolved

util.update_params breaks old query string

Andrey Rahmatullin
created an issue

{{{ In [1]: from webhelpers.util import update_params

In [2]: update_params('/?k1=v1', k2='v2') Out[2]: '/?k2=v2&k1=%5B%27v1%27%5D'

In [3]: update_params('/?k1=v1', k2='v2', _debug=True) Out[3]: ('/', {'k1': ['v1'], 'k2': 'v2'}, '') }}} Here "v1" gets changed to "['v1']".

Comments (3)

  1. Log in to comment