Browse Source

Remove hack for HTTP / HTTPS proxy types since they work now. Fix #1062.

FelisCatus 8 years ago
parent
commit
22f52125d7
1 changed files with 0 additions and 7 deletions
  1. 0 7
      omega-target-chromium-extension/omega_webext_proxy_script.js

+ 0 - 7
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) {