Skip to content

Commit 4f9df9d

Browse files
episkorowskiJ0WI
authored andcommitted
Update National_Geographic.xml (EFForg#14211)
* Added list of subdomains, simplified regex * Renamed file, cleaned up top comment * Added new rule, modified regex to use capturing group * Fixed new rule, added escape character * Corrected top comment * Changed channel category in comment * Added info and rules from old ruleset * Added metric to Invalid Certificate section, removed from CDN buckets * Added 502 error category for images, reordered target hosts and invalid certs sections
1 parent 817d064 commit 4f9df9d

3 files changed

Lines changed: 89 additions & 167 deletions

File tree

src/chrome/content/rules/National_Geographic.com-problematic.xml

Lines changed: 0 additions & 13 deletions
This file was deleted.
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
<!--
2+
CDN buckets:
3+
- nationalgeographic.desk.com
4+
- natgeo.edgeboss.net
5+
- dotcom-media.nationalgeographic.com.edgesuite.net
6+
- a1843.g1.akamai.net
7+
- images.nationalgeographic.com.edgesuite.net
8+
- a1621.g.akamai.net
9+
- kids.nationalgeographic.com.edgesuite.net
10+
- a1966.b.akamai.net
11+
- news.nationalgeographic.com.edgesuite.net
12+
- a1420.g.akamai.net
13+
- t.p.mybuys.com/clients/NATIONALGEOGRAPHIC/
14+
- s7d2.scene7.com/is/image/NationalGeographic/
15+
16+
Redirects to HTTP:
17+
- channel
18+
- media-channel (Redirects to channel)
19+
- tvblogs (Redirects to channel)
20+
21+
Invalid certificate:
22+
- adventureblog
23+
- environment
24+
- help
25+
- metric
26+
- newswatch
27+
- ngm
28+
- photography
29+
- travel
30+
- yourshotblog
31+
32+
502 proxy error:
33+
- images
34+
35+
Mixed content:
36+
- archive (Example: https://archive.nationalgeographic.com/?iid=133596#folio=CV1)
37+
- news
38+
- Images, from:
39+
- avatars.fyre.co *
40+
- zor.fyre.co *
41+
- Ads/web bugs, from:
42+
- b.comcardresearch.com *
43+
- loadus.exelator.com *
44+
- cdn.gigya.com *
45+
- www.googleadservices.com *
46+
* Secured by us
47+
48+
No working URL known:
49+
- media-yourshot
50+
51+
Time out:
52+
- nationalgeographic.com *
53+
54+
* Standard rule times out over HTTPS, new rule redirects to https://www.nationalgeographic.com/
55+
56+
-->
57+
<ruleset name="National Geographic">
58+
59+
<target host="nationalgeographic.com" />
60+
<target host="www.nationalgeographic.com" />
61+
<target host="digitalnomad.nationalgeographic.com" />
62+
<target host="events.nationalgeographic.com" />
63+
<target host="genographic.nationalgeographic.com" />
64+
<target host="intelligenttravel.nationalgeographic.com" />
65+
<target host="kids.nationalgeographic.com" />
66+
<target host="media-members.nationalgeographic.com" />
67+
<test url="http://media-members.nationalgeographic.com/static-media/img/favicon.ico" />
68+
<target host="media-mmdb.nationalgeographic.com" />
69+
<test url="http://media-mmdb.nationalgeographic.com/static-media/img/favicon.ico" />
70+
<target host="members.nationalgeographic.com" />
71+
<target host="metrics.nationalgeographic.com" />
72+
<target host="mmdb.nationalgeographic.com" />
73+
<target host="mshop.nationalgeographic.com" />
74+
<target host="news.nationalgeographic.com" />
75+
<target host="press.nationalgeographic.com" />
76+
<target host="shop.nationalgeographic.com" />
77+
<target host="video.nationalgeographic.com" />
78+
79+
<!-- Tracking cookies:
80+
-->
81+
<securecookie host="^\.nationalgeographic\.com$" name="^(gpv_p\d+|s_\w+|__utm)?\w$" />
82+
83+
<rule from="^http://nationalgeographic\.com/"
84+
to="https://www.nationalgeographic.com/" />
85+
86+
<rule from="^http:"
87+
to="https:" />
88+
89+
</ruleset>

src/chrome/content/rules/National_Geographic.xml

Lines changed: 0 additions & 154 deletions
This file was deleted.

0 commit comments

Comments
 (0)