commit 4edfceae80de0a02a52860a22b80374393982b38
parent 5f3b4f342b7249fa79121440f1c12c873ede5199
Author: Dan Stillman <dstillman@zotero.org>
Date: Sun, 19 Sep 2010 03:01:52 +0000
Fix "%S" showing up instead of hostname in WebDAV SSL certificate error
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/chrome/content/zotero/xpcom/storage/webdav.js b/chrome/content/zotero/xpcom/storage/webdav.js
@@ -1645,7 +1645,7 @@ Zotero.Sync.Storage.Session.WebDAV.prototype._checkResponse = function (req, obj
}
var msg = Zotero.localeJoin([
- Zotero.getString('sync.storage.error.webdav.sslCertificateError'),
+ Zotero.getString('sync.storage.error.webdav.sslCertificateError', host),
Zotero.getString('sync.storage.error.webdav.loadURLForMoreInfo')
]);
@@ -1654,7 +1654,7 @@ Zotero.Sync.Storage.Session.WebDAV.prototype._checkResponse = function (req, obj
}
else if ((secInfo.securityState & Ci.nsIWebProgressListener.STATE_IS_BROKEN) == Ci.nsIWebProgressListener.STATE_IS_BROKEN) {
var msg = Zotero.localeJoin([
- Zotero.getString('sync.storage.error.webdav.sslConnectionError'),
+ Zotero.getString('sync.storage.error.webdav.sslConnectionError', host),
Zotero.getString('sync.storage.error.webdav.loadURLForMoreInfo')
]);
obj.onError(msg);