diff options
author | Ruben Rodriguez <ruben@gnu.org> | 2017-09-01 16:36:10 -0400 |
---|---|---|
committer | Ruben Rodriguez <ruben@gnu.org> | 2017-09-01 16:36:10 -0400 |
commit | 3e9407561c478a7813568fd4f6e31746b7230bf8 (patch) | |
tree | cbf51cbf0e6158c70521244988f45c8b4b46253c /data/extensions/https-everywhere-eff@eff.org/chrome/content/code/HTTPS.js | |
parent | e8730f68798f173bd4d1c2f9b7ce02985e3fd771 (diff) |
HTTPS Everywhere updated to 5.2.21
Diffstat (limited to 'data/extensions/https-everywhere-eff@eff.org/chrome/content/code/HTTPS.js')
-rw-r--r-- | data/extensions/https-everywhere-eff@eff.org/chrome/content/code/HTTPS.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/data/extensions/https-everywhere-eff@eff.org/chrome/content/code/HTTPS.js b/data/extensions/https-everywhere-eff@eff.org/chrome/content/code/HTTPS.js index 070b122..c7328f6 100644 --- a/data/extensions/https-everywhere-eff@eff.org/chrome/content/code/HTTPS.js +++ b/data/extensions/https-everywhere-eff@eff.org/chrome/content/code/HTTPS.js @@ -40,14 +40,11 @@ const HTTPS = { */ replaceChannel: function(applicable_list, channel, httpNowhereEnabled) { var blob = HTTPSRules.rewrittenURI(applicable_list, channel.URI.clone()); - var isSTS = securityService.isSecureURI( - CI.nsISiteSecurityService.HEADER_HSTS, channel.URI, 0); var uri; if (blob === null) { // Abort insecure non-onion, non-localhost requests if HTTP Nowhere is on if (httpNowhereEnabled && channel.URI.schemeIs("http") && - !isSTS && !/\.onion$/.test(channel.URI.host) && !/^localhost$/.test(channel.URI.host) && !/^127(\.[0-9]{1,3}){3}$/.test(channel.URI.host) && @@ -267,8 +264,6 @@ const HTTPS = { cookiesCleanup: function(refCookie) { - var downgraded = []; - var ignored = this.secureCookiesExceptions; var disabled = !this.secureCookies; var bi = DOM.createBrowserIterator(); |