diff options
author | Florian Bruhin <me@the-compiler.org> | 2021-03-19 16:48:35 +0100 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2021-03-19 17:59:48 +0100 |
commit | 4ea7782d99ff71c505aad13e2108cb26ac9a63f3 (patch) | |
tree | 8aa1f1fc3954b85d383dc44128695016224be70d | |
parent | ca979e9969b34485f87efc33bc2d8547c5f9cf68 (diff) | |
download | qutebrowser-4ea7782d99ff71c505aad13e2108cb26ac9a63f3.tar.gz qutebrowser-4ea7782d99ff71c505aad13e2108cb26ac9a63f3.zip |
Make certificate error message clearer
-rw-r--r-- | qutebrowser/browser/shared.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qutebrowser/browser/shared.py b/qutebrowser/browser/shared.py index 36f85e486..c1a169ac2 100644 --- a/qutebrowser/browser/shared.py +++ b/qutebrowser/browser/shared.py @@ -202,6 +202,8 @@ def ignore_certificate_error( <tt>content.tls.certificate_errors</tt> to <tt>ask-block-thirdparty</tt> to always block invalid resource loads.</i></p> {% endif %} + + Do you want to ignore these errors and continue loading the page <b>insecurely</b>? """.strip()) msg = err_template.render( request_url=request_url, @@ -211,7 +213,7 @@ def ignore_certificate_error( ) urlstr = request_url.toString(QUrl.RemovePassword | QUrl.FullyEncoded) - ignore = message.ask(title="Certificate error - continue?", text=msg, + ignore = message.ask(title="Certificate error", text=msg, mode=usertypes.PromptMode.yesno, default=False, abort_on=abort_on, url=urlstr) if ignore is None: |