Skip to content

Commit 68e96d1

Browse files
author
MB
committed
[Zataz] Add/remove/update comments, merge (www.)?, add coverage, secure some cookies
1 parent 925d7f7 commit 68e96d1

File tree

2 files changed

+41
-29
lines changed

2 files changed

+41
-29
lines changed

src/chrome/content/rules/Zataz.com-falsemixed.xml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,10 @@
44
-->
55
<ruleset name="Zataz (false MCB)" platform="mixedcontent">
66

7-
<target host="zataz.com" />
8-
<target host="*.zataz.com" />
9-
<!--
10-
Handled in Zataz.xml:
11-
-->
12-
<exclusion pattern="^http://(?:www\.)?zataz\.com/(?:css/|favicon\.ico|images/)" />
7+
<target host="eromang.zataz.com" />
138

149

15-
<securecookie host="^(?:.*\.)?zataz\.com$" name=".+" />
16-
17-
18-
<rule from="^http://(www\.)?zataz\.com/"
19-
to="https://$1zataz.com/" />
10+
<rule from="^http:"
11+
to="https:" />
2012

2113
</ruleset>

src/chrome/content/rules/Zataz.xml

Lines changed: 38 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,50 +7,70 @@
77
- i[01].wp.com/eromang.zataz.com/
88
99
10-
Nonfunctional subdomains:
11-
12-
- eromang *
13-
14-
* Refused
15-
16-
1710
Partially covered subdomains:
1811
19-
- (www.) *
20-
- new
12+
- eromang *
2113
2214
* Avoiding false/broken MCB, rest handled in Zataz.com-falsemixed.xml
2315
2416
2517
Mixed content:
2618
19+
- flash on eromang from $self *
20+
2721
- css, on:
2822
2923
- eromang from eromang *
30-
- www from www *
3124
3225
- Images, on:
3326
3427
- archives from $self *
3528
- archives from www *
3629
- eromang from eromang *
37-
- www from www *
30+
- new, www from www *
31+
32+
- Bugs, on:
33+
34+
- eromang from platform.twitter.com *
35+
- new, www from pub9.media-clic.com
3836
3937
* Secured by us
4038
4139
-->
4240
<ruleset name="Zataz (partial)">
4341

4442
<target host="zataz.com" />
45-
<target host="*.zataz.com" />
46-
<!--exclusion pattern="^http://eromang\.zataz\.com/" /-->
47-
<!--
48-
Avoid false/broken MCB:
43+
<target host="archives.zataz.com" />
44+
<target host="eromang.zataz.com" />
45+
<target host="new.zataz.com" />
46+
<target host="www.zataz.com" />
47+
48+
<!-- Avoid false/broken MCB:
4949
-->
50-
<exclusion pattern="^http://(?:new\.|www\.)?zataz\.com/(?!css/|favicon\.ico|favicon-\d+x\d+\.png|images/|wp-content/|wp-includes/)" />
50+
<exclusion pattern="^http://eromang\.zataz\.com/+(?!wp-content/)" />
51+
52+
<!-- +ve:
53+
-->
54+
<test url="http://eromang.zataz.com/category/event-management/" />
55+
<test url="http://eromang.zataz.com/uploads/" />
56+
57+
<!-- -ve:
58+
-->
59+
<test url="http://eromang.zataz.com/wp-content/plugins/wp-table-reloaded/css/plugin.css" />
60+
61+
62+
<!-- Not secured by server:
63+
-->
64+
<!--securecookie host="^\.zataz\.com$" name="^(?:__cfuid|cf_clearance)$" /-->
65+
<!--securecookie host="^archives\.zataz\.com$" name="^ZATAZSID$" /-->
66+
67+
<!-- Avoiding cf_clearance <= mixed content:
68+
-->
69+
<securecookie host="\.zataz\.com$" name="^__cfduid$" />
70+
<securecookie host="archives\.zataz\.com$" name=".+" />
5171

5272

53-
<rule from="^http://((?:archives|new|www)\.)?zataz\.com/"
54-
to="https://$1zataz.com/" />
73+
<rule from="^http:"
74+
to="https:" />
5575

5676
</ruleset>

0 commit comments

Comments
 (0)