Skip to content

Commit d83e978

Browse files
author
MB
committed
[docker.io] Split false MCB coverage
1 parent 048172e commit d83e978

File tree

2 files changed

+43
-2
lines changed

2 files changed

+43
-2
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!--
2+
For rules not causing false/broken MCB, see Docker.io.xml.
3+
4+
-->
5+
<ruleset name="docker.io (false MCB)" platform="mixedcontent">
6+
7+
<target host="blog.docker.io" />
8+
9+
10+
<rule from="^http://blog\.docker\.io/"
11+
to="https://blog.docker.io/" />
12+
13+
</ruleset>

src/chrome/content/rules/Docker.io.xml

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
<!--
2+
For rules causing false/broken MCB, see Docker.io-falsemixed.xml.
3+
4+
25
Problematic subdomains:
36
47
- ^ (dropped)
@@ -7,15 +10,40 @@
710
Fully covered subdomains:
811
912
- (www.) (^ → www)
10-
- blog
1113
- docs
1214
- index
1315
16+
17+
Partially covered subdomains:
18+
19+
- blog *
20+
21+
* Avoiding false/broken MCB, rest handled in Docker.io-falsemixed.xml.
22+
23+
24+
Mixed content:
25+
26+
- css, on blog from:
27+
28+
- $self *
29+
- fonts.googleapis.com *
30+
31+
- Images, on blog from:
32+
33+
- $self *
34+
- www *
35+
36+
* Secured by us
37+
1438
-->
15-
<ruleset name="docker.io">
39+
<ruleset name="docker.io (partial)">
1640

1741
<target host="docker.io" />
1842
<target host="*.docker.io" />
43+
<!--
44+
Avoid false/broken MCB:
45+
-->
46+
<exclusion pattern="^http://blog\.docker\.io/+(?!\?mcsf_action=|assets/|favicon\.ico|plugins/|wp-content/|wp-includes/)" />
1947

2048

2149
<securecookie host="^www\.docker\.io$" name=".+" />

0 commit comments

Comments
 (0)