From 0f19872a8d8773495031c1878a44898de66218b5 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 9 Aug 2018 06:10:55 -0400 Subject: [PATCH] Show 'https://' in SSL certificate error message --- chrome/content/zotero/xpcom/http.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/http.js b/chrome/content/zotero/xpcom/http.js index 6b7591947b..91d9389967 100644 --- a/chrome/content/zotero/xpcom/http.js +++ b/chrome/content/zotero/xpcom/http.js @@ -1074,7 +1074,10 @@ Zotero.HTTP = new function() { Zotero.debug(e); } let kbURL = 'https://www.zotero.org/support/kb/ssl_certificate_error'; - msg = Zotero.getString('sync.storage.error.webdav.sslCertificateError', host); + msg = Zotero.getString( + 'sync.storage.error.webdav.sslCertificateError', + 'https://' + host + ); dialogButtonText = Zotero.getString('general.moreInformation'); dialogButtonCallback = function () { let wm = Components.classes["@mozilla.org/appshell/window-mediator;1"]