Add missing QUrl.RemovePassword

This commit is contained in:
Florian Bruhin 2018-02-11 10:45:08 +01:00
parent d306f81130
commit bba1eb0d76
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ class BrowserPage(QWebPage):
text="URL: <b>{}</b>".format(
html.escape(url.toDisplayString())),
yes_action=functools.partial(QDesktopServices.openUrl, url),
url=info.url.toString(QUrl.FullyEncoded))
url=info.url.toString(QUrl.RemovePassword | QUrl.FullyEncoded))
return True
elif (info.domain, info.error) in ignored_errors:
log.webview.debug("Ignored error on {}: {} (error domain: {}, "