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

Commit e0c7781

Browse files
author
Chan Chak Shing
authored
Rename and update NewspaperDirect-mismatches.xml (#19130)
* Delete NewspaperDirect-mismatches.xml * Remove dangling reference and update NewspaperDirect.xml * Update NewspaperDirect.xml fix indents * Create PressDisplay.com.xml
1 parent d352ecb commit e0c7781

File tree

3 files changed

+33
-55
lines changed

3 files changed

+33
-55
lines changed

src/chrome/content/rules/NewspaperDirect-mismatches.xml

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

src/chrome/content/rules/NewspaperDirect.xml

Lines changed: 7 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,17 @@
11
<!--
2-
NB: account.../$ redirects to 404
3-
?=> fetch test failure
4-
5-
6-
For problematic rules, see NewspaperDirect-mismatches.xml.
7-
8-
9-
Nonfunctional hosts in *newspaperdirect.com:
10-
11-
- nytimes ⁴
12-
13-
⁴ 404
14-
15-
16-
Mixed content:
17-
18-
- css on (www.)? from fonts.googleapis.com ˢ
19-
20-
ˢ Secured by us, see https://www.paulirish.com/2010/the-protocol-relative-url/
2+
Other NewspaperDirect.com related rulesets:
3+
+ PressDisplay.com.xml
214
5+
Non-functional hosts:
6+
SSL connect error:
7+
- newspaperdirect.com
8+
- www.newspaperdirect.com
229
-->
2310
<ruleset name="NewspaperDirect (partial)">
2411

25-
<target host="newspaperdirect.com" />
2612
<target host="account.newspaperdirect.com" />
27-
<target host="www.newspaperdirect.com" />
28-
29-
<!-- $ redirects to 404, so:
30-
-->
31-
<test url="http://account.newspaperdirect.com/epaper/accountingloginse2_nytimes.aspx" />
32-
33-
34-
<securecookie host="^\w" name=".+" />
3513

14+
<securecookie host=".+" name=".+" />
3615

3716
<rule from="^http:" to="https:" />
3817

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<!--
2+
For other NewspaperDirect.com related rulesets, see NewspaperDirect.xml
3+
4+
Non-functional hosts
5+
SSL connect error:
6+
- pressdisplay.com
7+
- processing.pressdisplay.com
8+
9+
SSL peer certificate was not OK:
10+
- cache-styles.pressdisplay.com
11+
- images2.pressdisplay.com
12+
13+
4xx client error:
14+
- cache3-img1.pressdisplay.com
15+
- reports.pressdisplay.com
16+
17+
Different content:
18+
- www.pressdisplay.com
19+
- library.pressdisplay.com
20+
-->
21+
<ruleset name="PressDisplay.com" default_off="ssl-error">
22+
<target host="pressdisplay.com" />
23+
<target host="processing.pressdisplay.com" />
24+
25+
<rule from="^http:" to="https:" />
26+
</ruleset>

0 commit comments

Comments
 (0)