mirror of
https://github.com/zero-peak/ZeroOmega.git
synced 2025-02-02 02:58:13 -05:00
Remove hack for HTTP / HTTPS proxy types since they work now. Fix #1062.
This commit is contained in:
parent
1b524ea326
commit
22f52125d7
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user