diff --git a/chrome/content/zotero/xpcom/proxy.js b/chrome/content/zotero/xpcom/proxy.js index e932e7bc47..7a80806ce5 100644 --- a/chrome/content/zotero/xpcom/proxy.js +++ b/chrome/content/zotero/xpcom/proxy.js @@ -179,8 +179,10 @@ Zotero.Proxies = new function() { * @returns {Object} Unproxied url to proxy object */ this.getPotentialProxies = function(url) { - // make sure url has a trailing slash - url = new URL(url).href; + try { + // make sure url has a trailing slash + url = new URL(url).href; + } catch (e) { } var urlToProxy = {}; // If it's a known proxied URL just return it if (Zotero.Proxies.transparent) {