From d24133d8a2025b29b4253d727a693fb90b938f2c Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Thu, 2 Jan 2020 16:14:56 +0100 Subject: [PATCH] core: fix _redirect_with_qs appending an array to the URL --- passbook/factors/view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/passbook/factors/view.py b/passbook/factors/view.py index 9a6f05dc4..b3546c216 100644 --- a/passbook/factors/view.py +++ b/passbook/factors/view.py @@ -23,7 +23,7 @@ def _redirect_with_qs(view, get_query_set=None): """Wrapper to redirect whilst keeping GET Parameters""" target = reverse(view) if get_query_set: - target += "?" + urlencode(get_query_set) + target += "?" + urlencode(get_query_set.items()) return redirect(target)