Skip to content

Commit 6bb52b5

Browse files
author
MB
committed
Merge remote-tracking branch 'efforg/master' into personal-rulesets
2 parents 9e12687 + ad09275 commit 6bb52b5

File tree

3 files changed

+8
-17
lines changed

3 files changed

+8
-17
lines changed

src/chrome/content/code/HTTPS.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ const HTTPS = {
7474
var domain = null;
7575
try { domain = channel.URI.host; } catch (e) {}
7676
if (domain) https_blacklist_domains[domain] = true;
77+
if (httpNowhereEnabled && channel.URI.schemeIs("http")) {
78+
IOUtil.abort(channel);
79+
}
7780
return false;
7881
}
7982

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,9 @@
1-
<!--
2-
Disabled by https-everywhere-checker because:
3-
Fetch error: http://images.musicnet.com/ => https://images.musicnet.com/: (56, 'Recv failure: Connection reset by peer')
4-
-->
5-
<ruleset name="MediaNet (partial)" platform="mixedcontent" default_off='failed ruleset test'>
6-
1+
<ruleset name="MediaNet">
72
<target host="mndigital.com" />
83
<target host="www.mndigital.com" />
9-
<target host="images.musicnet.com" />
10-
114

125
<securecookie host="^www\.mndigital\.com$" name=".*" />
136

14-
15-
<rule from="^http://(www\.)?mndigital\.com/"
16-
to="https://$1mndigital.com/" />
17-
18-
<rule from="^http://images\.musicnet\.com/"
19-
to="https://images.musicnet.com/" />
20-
7+
<rule from="^http:"
8+
to="https:" />
219
</ruleset>

src/chrome/content/rules/PeerJ.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@
1414

1515

1616
<rule from="^http://(www\.)?peerj\.com/"
17-
to="https://$1peerj.com/$2" />
17+
to="https://$1peerj.com/" />
1818

19-
</ruleset>
19+
</ruleset>

0 commit comments

Comments
 (0)