Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.

Commit 996ba28

Browse files
author
Chan Chak Shing
authored
Update Demand Media related rulesets (#18925)
* Update Demand Media related rulesets * Create Trails.com.xml * Update GolfLink.com.xml * Delete Demand-Media-mismatches.xml * Update ENomCentral.xml * Update Enom.xml * Update Demand-Media.xml related rulesets * Create Cracked.com.xml CrackedCDN.com.xml * Add cdn-www.golflink.com to targets
1 parent 4b47ef4 commit 996ba28

File tree

11 files changed

+123
-209
lines changed

11 files changed

+123
-209
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!--
2+
For other Demand Media coverage, see Demand-Media.xml.
3+
-->
4+
<ruleset name="Cracked.com (partial)">
5+
<target host="cracked.com" />
6+
<target host="www.cracked.com" />
7+
<target host="admin.cracked.com" />
8+
<target host="ajax.cracked.com" />
9+
<target host="secure.cracked.com" />
10+
<target host="shop.cracked.com" />
11+
12+
<securecookie host=".+" name=".+" />
13+
14+
<rule from="^http:" to="https:" />
15+
</ruleset>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!--
2+
For other Demand Media coverage, see Demand-Media.xml.
3+
-->
4+
<ruleset name="CrackedCDN.com (partial)">
5+
<target host="ui.crackedcdn.com" />
6+
<target host="s3.crackedcdn.com" />
7+
<test url="http://s3.crackedcdn.com/phpimages/article/0/4/0/725040_v2.jpg" />
8+
<test url="http://s3.crackedcdn.com/phpimages/article/3/9/3/724393_v1.jpg" />
9+
10+
<rule from="^http:" to="https:" />
11+
</ruleset>

src/chrome/content/rules/Demand-Media-mismatches.xml

Lines changed: 0 additions & 65 deletions
This file was deleted.
Lines changed: 23 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,32 @@
1-
21
<!--
3-
Disabled by https-everywhere-checker because:
4-
Non-2xx HTTP code: http://cdn-www.demandstudios.com/ (200) => https://cdn-www.demandstudios.com/ (503)
5-
Fetch error: http://www.demandstudios.com/ => https://www.demandstudios.com/: (28, 'Operation timed out after 0 milliseconds with 0 out of 0 bytes received')
6-
7-
For problematic rules, see Demand-Media-mismatches.xml.
8-
9-
102
Other Demand Media rulesets:
11-
12-
- DM_tracker.com.xml
13-
- Enom.xml
14-
- ENomCentral.xml
15-
- GolfLink.com.xml
16-
- Registryrocket.com.xml
17-
18-
19-
CDN buckets:
20-
21-
- s3.amazonaws.com/uploadedimages.demandmedia/
22-
23-
- wac.5008.edgecastcdn.net/??5008/
24-
25-
- www.cracked.com
26-
27-
- i.crackedcdn.com.edgesuite.net
28-
29-
30-
Problematic domains:
31-
32-
- (www.)blogburst.com (works; mismatched, CN: www.demandstudios.com)
33-
- cracked.com (works, expired 2012-09-02)
34-
- create.demandstudios.com (works; mismatched, CN: *.sqsp.com)
35-
- photos2.demandstudios.com (works, akamai)
36-
37-
38-
Nonfunctional domains:
39-
40-
- www.cracked.com (400; mismatched, CN: gp1.wac.edgecastcdn.net)
3+
+ Cracked.com.xml
4+
+ CrackedCDN.com.xml
5+
+ DM_tracker.com.xml
6+
+ DemandStudios.com.xml
7+
+ ENomCentral.xml
8+
+ Enom.xml
9+
+ GolfLink.com.xml
10+
+ GolfLink.net.xml
11+
+ Registryrocket.com.xml
12+
+ Trails.com.xml
13+
+ glimg.net.xml
14+
15+
Non-functional hosts
16+
SSL peer certificate was not OK:
4117
- demandmedia.com
42-
- cdn-www.demandmedia.com (503, akamai)
18+
- cdn-www.demandmedia.com
19+
- ir.demandmedia.com
4320
- new.demandmedia.com
44-
- www.demandmedia.com (503, akamai)
45-
21+
- photos.demandmedia.com
22+
- photos1.demandmedia.com
23+
- photos2.demandmedia.com
24+
- rma.demandmedia.com
4625
-->
47-
<ruleset name="Demand Media (partial)" default_off="failed ruleset test">
48-
49-
<!-- Direct rewrites:
50-
-->
51-
<target host="rma.demandmedia.com" />
52-
53-
<target host="demandstudios.com" />
54-
<target host="cdn-staging.demandstudios.com" />
55-
<target host="cdn-www.demandstudios.com" />
56-
<target host="www.demandstudios.com" />
57-
26+
<ruleset name="Demand Media (partial)">
27+
<target host="www.demandmedia.com" />
5828

5929
<securecookie host=".+" name=".+" />
6030

61-
62-
<rule from="^http:"
63-
to="https:" />
64-
65-
31+
<rule from="^http:" to="https:" />
6632
</ruleset>
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<!--
2+
For other Demand Media coverage, see Demand-Media.xml.
3+
4+
Non-functional hosts
5+
Couldn't connect to server:
6+
- create.demandstudios.com
7+
8+
Timeout was reached:
9+
- demandstudios.com
10+
- www.demandstudios.com
11+
- cdn-staging.demandstudios.com
12+
13+
SSL peer certificate was not OK:
14+
- cdn-write.demandstudios.com
15+
- new.demandmedia.com
16+
- write.demandstudios.com
17+
-->
18+
<ruleset name="DemandStudios.com" default_off="timeout">
19+
<target host="demandstudios.com" />
20+
<target host="www.demandstudios.com" />
21+
22+
<rule from="^http:" to="https:" />
23+
</ruleset>
Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,11 @@
11
<!--
22
For other Demand Media coverage, see Demand-Media.xml.
3-
4-
5-
- !www: cert only matches www
6-
- Some pages redirect to http
7-
83
-->
94
<ruleset name="eNomCentral (partial)">
105

116
<target host="enomcentral.com" />
127
<target host="www.enomcentral.com" />
138

14-
15-
<rule from="^http://(?:www\.)?enomcentral\.com/(captchautil/|css/|_?images/|js/|login\.aspx|myaccount(?:$|\?|/)|(?:Script|Web)Resource\.axd|verisign-seal\.htm)"
16-
to="https://www.enomcentral.com/$1" />
9+
<rule from="^http:" to="https:" />
1710

1811
</ruleset>

src/chrome/content/rules/Enom.xml

Lines changed: 1 addition & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,11 @@
11
<!--
22
For other Demand Media coverage, see Demand-Media.xml.
3-
4-
5-
Many pages redirect to http, though there may
6-
be more than are handled here that don't.
7-
8-
9-
Insecure cookies are set for these hosts:
10-
11-
- www.enom.com
12-
13-
14-
Mixed content:
15-
16-
- Image on www from $self *
17-
18-
* Secured by us
19-
203
-->
214
<ruleset name="eNom.com (partial)">
225

236
<target host="enom.com" />
247
<target host="www.enom.com" />
258

26-
<exclusion pattern="^http://www\.enom\.com/(?!login|signup/).*\.aspx(?:$|\?)" />
27-
28-
<!-- +ve:
29-
-->
30-
<test url="http://www.enom.com/about-us.aspx" />
31-
<test url="http://www.enom.com/affiliate.aspx" />
32-
<test url="http://www.enom.com/default.aspx" />
33-
<test url="http://www.enom.com/resellers/benefits-pricingplans.aspx" />
34-
<test url="http://www.enom.com/services.aspx" />
35-
<test url="http://www.enom.com/site-map.aspx" />
36-
37-
<!-- -ve:
38-
-->
39-
<test url="http://www.enom.com/_images/2015/enom.png" />
40-
<test url="http://www.enom.com/captchautil/Captcha.aspx?annc=" />
41-
<test url="http://www.enom.com/help" />
42-
<test url="http://www.enom.com/login.aspx" />
43-
44-
<!-- 500:
45-
-->
46-
<exclusion pattern="^http://(?:www\.)?enom\.com/kb(?:$|[?/])" />
47-
48-
<!-- +ve:
49-
-->
50-
<test url="http://www.enom.com/kb" />
51-
<test url="http://www.enom.com/kb/Resources/Images/enom-logo-onblue_60x17.png" />
52-
<test url="http://www.enom.com/kb/kb/kb_2000-phishing-alert.htm" />
53-
<test url="http://www.enom.com/kb?" />
54-
55-
56-
<!-- Not secured by server:
57-
-->
58-
<!--securecookie host="^www\.enom\.com$" name="^(?:ASP\.NET_SessionId|BIGipServer.*)$" /-->
59-
60-
61-
<rule from="^http:"
62-
to="https:" />
9+
<rule from="^http:" to="https:" />
6310

6411
</ruleset>
Lines changed: 5 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,14 @@
11
<!--
22
For other Demand Media coverage, see Demand-Media.xml.
33
4-
5-
CDN buckets:
6-
7-
- i.glimg.net.edgesuite.net
8-
9-
- a1768.g.akamai.net
10-
11-
- ui.glimg.net.edgesuite.net
12-
13-
- a1075.g.akamai.net
14-
4+
Non-functional hosts
5+
Timeout was reached:
6+
- blog.golflink.com
157
-->
168
<ruleset name="GolfLink.com (partial)">
17-
18-
<target host="i.glimg.net" />
19-
<target host="ui.glimg.net" />
209
<target host="golflink.com" />
10+
<target host="www.golflink.com" />
2111
<target host="cdn-www.golflink.com" />
22-
<target host="golflink.net" />
23-
<target host="www.golflink.net" />
24-
25-
26-
<!-- Could we secure any of these safely?
27-
-->
28-
<!--securecookie host="^www\.golflink\.com$" name=".+" /-->
29-
30-
31-
<rule from="^http://(?:(?:cdn-www\.)?golflink\.com|(?:www\.)?golflink\.net|u?i\.glimg\.net)/"
32-
to="https://www.golflink.com/" />
3312

13+
<rule from="^http:" to="https:" />
3414
</ruleset>
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<!--
2+
For other Demand Media coverage, see Demand-Media.xml.
3+
4+
Non-functional hosts
5+
SSL peer certificate was not OK:
6+
- golflink.net
7+
- www.golflink.net
8+
- staging.golflink.net
9+
- a.staging.golflink.net
10+
- b.staging.golflink.net
11+
-->
12+
<ruleset name="Golflink.net" default_off="cert-invalid">
13+
<target host="golflink.net" />
14+
<target host="www.golflink.net" />
15+
16+
<rule from="^http:" to="https:" />
17+
</ruleset>
18+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!--
2+
For other Demand Media coverage, see Demand-Media.xml.
3+
-->
4+
<ruleset name="Trails.com (partial)">
5+
<target host="trails.com" />
6+
<target host="www.trails.com" />
7+
<target host="api.trails.com" />
8+
<target host="cdn-www.trails.com" />
9+
10+
<rule from="^http:" to="https:" />
11+
</ruleset>

0 commit comments

Comments
 (0)