From 22f52125d75444bb4218b51e57786107978a14be Mon Sep 17 00:00:00 2001 From: FelisCatus Date: Thu, 1 Jun 2017 01:57:52 -0400 Subject: [PATCH] Remove hack for HTTP / HTTPS proxy types since they work now. Fix #1062. --- .../omega_webext_proxy_script.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/omega-target-chromium-extension/omega_webext_proxy_script.js b/omega-target-chromium-extension/omega_webext_proxy_script.js index 27857ac..63c0e00 100644 --- a/omega-target-chromium-extension/omega_webext_proxy_script.js +++ b/omega-target-chromium-extension/omega_webext_proxy_script.js @@ -46,13 +46,6 @@ FindProxyForURL = (function () { // the list if the syntax of the first item is not recognized. next = next.replace(/SOCKS5 /g, 'SOCKS '); - // MOZ: HTTP proxies are wrongly treated as HTTPS proxies! - // There is no workaround now. Therefore, they won't work. - // MOZ: HTTPS proxies are (wrongly) supported under the prefix PROXY. - // XXX: Remove the following hack once they are properly supported. - // https://bugzilla.mozilla.org/show_bug.cgi?id=1359417 - next = next.replace(/HTTPS /g, 'PROXY '); - return next; } } else if (matchResult.profileName) {