From 6a4a329ec6f2e37c15d03c1b0de114f39350630b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adomas=20Ven=C4=8Dkauskas?= Date: Thu, 10 Nov 2022 12:25:03 +0200 Subject: [PATCH] Always replace dots to hyphens for https proxy schemes --- chrome/content/zotero/xpcom/proxy.js | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/chrome/content/zotero/xpcom/proxy.js b/chrome/content/zotero/xpcom/proxy.js index 85f20ef92f..253b56a14c 100644 --- a/chrome/content/zotero/xpcom/proxy.js +++ b/chrome/content/zotero/xpcom/proxy.js @@ -211,7 +211,6 @@ Zotero.Proxies = new function() { for (let i=0; i < hostnameParts.length; i++) { let parts = hostnameParts[i]; // If hostnameParts has two entries, then the second one is with replaced hyphens - let dotsToHyphens = i == 1; // skip the lowest level subdomain, domain and TLD for (let j=1; j