diff --git a/qutebrowser/browser/commands.py b/qutebrowser/browser/commands.py index 3147122b8..a6d78f7ee 100644 --- a/qutebrowser/browser/commands.py +++ b/qutebrowser/browser/commands.py @@ -646,7 +646,7 @@ class CommandDispatcher: ':' + str(port) if port > -1 else '') elif what in ['url', 'pretty-url']: flags = QUrl.RemovePassword - if what == 'url': # Not pretty + if what != 'url-pretty': flags |= QUrl.FullyEncoded s = self._current_url().toString(flags) what = 'URL' # For printing