Skip to content

Commit 88e626b

Browse files
injustzoracon
authored andcommitted
Update ruleset: Wall Street Journal (EFForg#16452)
* Reactivate ruleset * Update nonfunctional hosts * Add previously non-functional targets * Add targets * Oops * Fix dangling reference due to rename * Fix failing fetch test * Remove non-capturing groups * Add wsje.com * Generalize name * Propagate name change * Add targets * Revert "Propagate name change" This reverts commit 43ada2b. * Revert "Fix dangling reference due to rename" This reverts commit 7423955. * Fix failing test
1 parent 66a4c02 commit 88e626b

File tree

1 file changed

+24
-47
lines changed

1 file changed

+24
-47
lines changed
Lines changed: 24 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,11 @@
1-
21
<!--
3-
Disabled by https-everywhere-checker because:
4-
Fetch error: http://portfolio.wsj.com/ => https://portfolio.wsj.com/: (7, 'Failed to connect to portfolio.wsj.com port 443: Connection refused')
5-
62
For other News Corporation coverage, see News-Corporation.xml.
73
8-
94
CDN buckets:
10-
115
- blogs.wsj.com.edgesuite.net
126
- fonts.wsj.com.edgesuite.net
137
14-
158
Nonfunctional hosts in *wsj.com:
16-
179
- blogs ʰ
1810
- cfonetwork ʳ
1911
- cionetwork ʳ
@@ -28,8 +20,8 @@ Fetch error: http://portfolio.wsj.com/ => https://portfolio.wsj.com/: (7, 'Faile
2820
- info ʳ
2921
- jp ⁴
3022
- midmarketsummit ³
31-
- online ʰ
3223
- peac ʳ
24+
- portfolio ʳ
3325
- professor ³
3426
- projects ⁵
3527
- quotes ³
@@ -39,22 +31,19 @@ Fetch error: http://portfolio.wsj.com/ => https://portfolio.wsj.com/: (7, 'Faile
3931
- student ³
4032
- subscription ³
4133
- synccontent
34+
- wn ᵗ
4235
- womenin ʳ
4336
- wsjdconference ᵈ
4437
- wsjdlive ʳ
45-
4638
³ 503
4739
⁴ 404
4840
⁵ 504
4941
ᵈ Dropped
5042
ʰ Redirects to http
5143
ʳ Refused
52-
44+
ᵗ Timeout
5345
5446
Problematic hosts in *wsj.com:
55-
56-
- classified ᶜ
57-
- classifieds ᶜ
5847
- cn ᵐ
5948
- m.cn ᵐ
6049
- djx ᶜ
@@ -71,82 +60,70 @@ Fetch error: http://portfolio.wsj.com/ => https://portfolio.wsj.com/: (7, 'Faile
7160
- uk ᵐ
7261
- ore.www ᵐ
7362
- vir.www ᵐ
74-
7563
ᶜ Server sends no certificate chain, see https://whatsmychaincert.com
7664
ᵐ Mismatched
7765
ᵗ Timeout
7866
79-
8067
These altnames do not exist:
81-
8268
- ssl.wsj.com
8369
70+
Problematic hosts in *wsje.com:
71+
- ^ ᵐ
72+
- www ᵐ
73+
ᵐ Mismatched
8474
8575
Insecure cookies are set for these domains and hosts: ᶜ
86-
8776
- .wsj.com
8877
- blue-store.wsj.com
8978
- customercenter.wsj.com
9079
- .customercenter.wsj.com
9180
- services.wsj.com
9281
- store.wsj.com
93-
9482
ᶜ See https://owasp.org/index.php/SecureFlag
9583
96-
9784
Mixed content:
98-
99-
- css on buy from fonts.wsj.net ˢ
10085
- Image on customercenter from s2.wsj.net ˢ
10186
- Bug on classified, classifieds from dowjones.122.2o7.net ˢ
102-
10387
ˢ Secured by us, see https://www.paulirish.com/2010/the-protocol-relative-url/
104-
10588
-->
106-
<ruleset name="WSJ.com (partial)" default_off='failed ruleset test'>
10789

108-
<!-- Direct rewrites:
109-
-->
90+
<ruleset name="Wall Street Journal (partial)">
91+
<!-- dowjones.com -->
92+
<target host="djrc.portal.dowjones.com" />
93+
94+
<!-- wsj.com -->
11095
<target host="wsj.com" />
11196
<target host="www.wsj.com" />
11297
<target host="blue-store.wsj.com" />
11398
<target host="buy.wsj.com" />
99+
<test url="http://buy.wsj.com/maywsjus/" />
114100
<target host="cbuy.wsj.com" />
115101
<target host="city.wsj.com" />
116-
<!--target host="classified.wsj.com" /-->
117-
<!--target host="classifieds.wsj.com" /-->
102+
<target host="classified.wsj.com" />
103+
<target host="classifieds.wsj.com" />
118104
<target host="customercenter.wsj.com" />
119105
<target host="id.wsj.com" />
120-
<target host="portfolio.wsj.com" />
106+
<target host="online.wsj.com" />
121107
<target host="services.wsj.com" />
122108
<target host="signin.wsj.com" />
123109
<!--target host="www.ssl.wsj.com" /-->
124110
<target host="store.wsj.com" />
125111
<target host="subscribe.wsj.com" />
126-
<!--target host="video-api.wsj.com" /-->
127-
<target host="wn.wsj.com" />
112+
<target host="video-api.wsj.com" />
113+
<test url="http://video-api.wsj.com/api-video/player/v2/css/play_btn_50.png" />
128114

129-
<!--test url="http://video-api.wsj.com/api-video/player/v2/css/play_btn_50.png" /-->
130115

131-
<!-- Mixed css:
132-
-->
133-
<!--test url="http://buy.wsj.com/maywsjus/" /-->
134-
135-
136-
<!-- Not secured by server:
137-
-->
138-
<!--securecookie host="^\.wsj\.com$" name="^(?:LPLogin|djcs_route|wsjregion)$" /-->
139-
<!--securecookie host="^(?:blue-)?store\.wsj\.com$" name="^AWSELB$" /-->
140-
<!--securecookie host="^customercenter\.wsj\.com$" name="^(?:defaultLocale|slanguage|slocale)$" /-->
116+
<!-- Not secured by server -->
117+
<!--securecookie host="^\.wsj\.com$" name="^(LPLogin|djcs_route|wsjregion)$" /-->
118+
<!--securecookie host="^(blue-)?store\.wsj\.com$" name="^AWSELB$" /-->
119+
<!--securecookie host="^customercenter\.wsj\.com$" name="^(defaultLocale|slanguage|slocale)$" /-->
141120
<!--securecookie host="^\.customercenter\.wsj\.com$" name="^djcs_int$" /-->
142121
<!--securecookie host="^services\.wsj\.com$" name="^JSESSIONID$" /-->
143122

144-
<securecookie host="^\." name="^(?:_gat?$|_gat_|s_v)" />
123+
<securecookie host="^\." name="^(_gat?$|_gat_|s_v)" />
145124
<securecookie host="^\.customercenter\." name=".+" />
146125
<securecookie host="^\w" name=".+" />
147126

148127

149-
<rule from="^http:"
150-
to="https:" />
151-
128+
<rule from="^http:" to="https:" />
152129
</ruleset>

0 commit comments

Comments
 (0)