Skip to content

Commit cf2730c

Browse files
authored
Merge pull request EFForg#5334 from renyouguo/patch-150
Update NYT.com.xml
2 parents 8df81a8 + 093b66c commit cf2730c

File tree

1 file changed

+16
-28
lines changed

1 file changed

+16
-28
lines changed

src/chrome/content/rules/NYT.com.xml

Lines changed: 16 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -13,43 +13,31 @@
1313
1414
* 504
1515
16-
17-
Problematic hosts in *nyt.com:
18-
19-
- a1 ¹
20-
- css ¹
21-
- i1 ¹
22-
- static01 ²
23-
24-
¹ Akamai
25-
² Mismatched
16+
Mismatch:
17+
- ^
18+
- www
19+
20+
Service Unavailable:
21+
- i1 test: https://i1.nyt.com/times-journeys/2014/04/the_workd_of_maya_cruise_itinerary.pdf
2622
2723
-->
28-
<ruleset name="NYT.com (partial)" default_off="needs testing">
2924

30-
<!-- Complications:
31-
-->
32-
<target host="nyt.com" />
25+
<ruleset name="NYT.com (partial)">
26+
3327
<target host="a1.nyt.com" />
3428
<target host="css.nyt.com" />
35-
<target host="i1.nyt.com" />
29+
<target host="int.nyt.com" />
3630
<target host="js.nyt.com" />
31+
<target host="s1.nyt.com" />
3732
<target host="static01.nyt.com" />
38-
<target host="www.nyt.com" />
3933

34+
<test url="http://a1.nyt.com/assets/collection/20160620-123406/js/foundation/main.js" />
4035
<test url="http://css.nyt.com/images/nytco/INFOIcon.png" />
36+
<test url="http://int.nyt.com/data/weekend_reads/weekendreads-20151221-v1.js" />
37+
<test url="http://js.nyt.com/video/vhs/build/vhs-2.x.js" />
38+
<test url="http://s1.nyt.com/ugc/comments/commentData.json" />
39+
<test url="http://static01.nyt.com/images/2016/06/26/world/26china-web1/26china-web1-articleLarge.jpg" />
4140

42-
43-
<rule from="^http://(?:www\.)?nyt\.com/"
44-
to="https://www.nytimes.com/" />
45-
46-
<rule from="^http://a1\.nyt\.com/"
47-
to="https://assets-origin.nytimes.com/" />
48-
49-
<rule from="^http://(?:css|i1|static01)\.nyt\.com/"
50-
to="https://static.nytimes.com/" />
51-
52-
<rule from="^http://js\.nyt\.com/"
53-
to="https://www.nytimes.com/" />
41+
<rule from="^http:" to="https:" />
5442

5543
</ruleset>

0 commit comments

Comments
 (0)