From 5bb341ba52efc6621153f7bf65a45924e87245b5 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Mon, 26 Apr 2021 11:43:13 -0700 Subject: [PATCH] Use copy of requests GET params in list redirect --- bookwyrm/views/list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookwyrm/views/list.py b/bookwyrm/views/list.py index 6a241ada..89b936e9 100644 --- a/bookwyrm/views/list.py +++ b/bookwyrm/views/list.py @@ -270,7 +270,7 @@ def add_book(request): pass path = reverse("list", args=[book_list.id]) - params = request.GET + params = request.GET.copy() params["updated"] = True return redirect("{:s}?{:s}".format(path, urlencode(params)))