From 1b8e1a9ea4627b250a38f27e5a97e6e2583db922 Mon Sep 17 00:00:00 2001 From: lyeoh Date: Mon, 1 Oct 2018 16:24:54 -0500 Subject: [PATCH] Fix url available to :navigate (strip query) --- qutebrowser/browser/commands.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qutebrowser/browser/commands.py b/qutebrowser/browser/commands.py index f5054cdda..9b5145d63 100644 --- a/qutebrowser/browser/commands.py +++ b/qutebrowser/browser/commands.py @@ -635,7 +635,8 @@ class CommandDispatcher: cmdutils.check_exclusive((tab, bg, window), 'tbw') widget = self._current_widget() - url = self._current_url().adjusted(QUrl.RemoveFragment) + url = self._current_url().adjusted(QUrl.RemoveFragment | + QUrl.RemoveQuery) handlers = { 'prev': functools.partial(navigate.prevnext, prev=True),