From 0674f9442b6256c5425657a0ae44a08eb3f6eaf5 Mon Sep 17 00:00:00 2001 From: Yuri Date: Mon, 4 Nov 2024 16:25:22 +0100 Subject: [PATCH 1/2] Update helper_views.py See https://github.com/plone/plone.app.multilingual/issues/472 --- src/plone/app/multilingual/browser/helper_views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plone/app/multilingual/browser/helper_views.py b/src/plone/app/multilingual/browser/helper_views.py index b88d7b66..fb7b32a3 100644 --- a/src/plone/app/multilingual/browser/helper_views.py +++ b/src/plone/app/multilingual/browser/helper_views.py @@ -192,7 +192,7 @@ def wrapDestination(self, url, postpath=True): """ if postpath: url += self.request.form.get("post_path", "") - return addQuery(self.request, url, exclude=("post_path")) + return addQuery(self.request, url, exclude=("post_path",)) def __call__(self): url = self.getDestination() From c5967510101e069fe446e98cd251064fb67ec452 Mon Sep 17 00:00:00 2001 From: Yuri Date: Mon, 4 Nov 2024 16:27:06 +0100 Subject: [PATCH 2/2] Create 472.bug --- news/472.bug | 1 + 1 file changed, 1 insertion(+) create mode 100644 news/472.bug diff --git a/news/472.bug b/news/472.bug new file mode 100644 index 00000000..78add43c --- /dev/null +++ b/news/472.bug @@ -0,0 +1 @@ +[yurj] missing comma lead to unexpected variable remove from url