diff --git a/chrome/content/zotero/xpcom/translation/translate.js b/chrome/content/zotero/xpcom/translation/translate.js index 565b93c2a5..cdec61e735 100644 --- a/chrome/content/zotero/xpcom/translation/translate.js +++ b/chrome/content/zotero/xpcom/translation/translate.js @@ -1396,7 +1396,12 @@ Zotero.Translate.Base.prototype = { resolved; if (!m) { if (this.location) { - resolved = new URL(url, this.location).toString(); + if (Zotero.isFx) { + resolved = Services.io.newURI(this.location, "", null).resolve(url); + } + else { + resolved = new URL(url, this.location).toString(); + } } else if (url.startsWith('//')) { // Use HTTPS by default for protocol-relative URL with no associated web page