Skip to content

Commit

Permalink
Merge pull request #473 from plone/yurj-patch-472-missing-comma
Browse files Browse the repository at this point in the history
Update helper_views.py
  • Loading branch information
erral authored Nov 4, 2024
2 parents 104fa6f + c596751 commit 315b308
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions news/472.bug
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[yurj] missing comma lead to unexpected variable remove from url
2 changes: 1 addition & 1 deletion src/plone/app/multilingual/browser/helper_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 315b308

Please sign in to comment.