Skip to content

Commit ce42a4f

Browse files
author
MB
committed
[npm js.org] Split npm js.com
1 parent 5e04714 commit ce42a4f

File tree

3 files changed

+39
-15
lines changed

3 files changed

+39
-15
lines changed

src/chrome/content/rules/Joyent.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Fetch error: http://www.no.de/ => https://no.de/: (28, 'Connection timed out aft
66
77
- Nodejs.org.xml
88
- Npm.im.xml
9+
- Npm_js.com.xml
910
- Npm_js.org.xml
1011
1112
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<!--
2+
For other Joyent coverage, see Joyent.xml.
3+
4+
5+
Problematic domains:
6+
7+
- npmjs.com ¹
8+
- www.npmjs.com ²
9+
10+
¹ 404; self-signed, CN: Isaac Z. Schlueter
11+
² Squarespace
12+
13+
14+
Fully covered domains:
15+
16+
- preview.npmjs.com
17+
18+
-->
19+
<ruleset name="npm js.com (partial)">
20+
21+
<!-- Direct rewrites:
22+
-->
23+
<target host="preview.npmjs.com" />
24+
25+
26+
<!-- Not secured by server:
27+
-->
28+
<!--securecookie host="\.npmjs\.com$" name="^SS_MID$" /-->
29+
<!--securecookie host="^preview\.npmjs\.com$" name="^crumb$" /-->
30+
<!--securecookie host="^www\.npmjs\.com$" name="^(JSESSIONID|crumb)$" /-->
31+
32+
<securecookie host="^preview\.npmjs\.com$" name=".+" />
33+
34+
35+
<rule from="^http:"
36+
to="https:" />
37+
38+
</ruleset>

src/chrome/content/rules/Npm_js.org.xml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,18 @@
1111
1212
Problematic domains:
1313
14-
- npmjs.com ¹
15-
- www.npmjs.com ²
16-
1714
- npmjs.org subdomains:
1815
1916
- couch *
2017
- scratch *
2118
- status ⁵
2219
23-
¹ 404; self-signed, CN: Isaac Z. Schlueter
24-
² Squarespace
2520
* Works; mismatched, CN: registry.npmjs.org
2621
⁵ StatusPage
2722
2823
2924
Fully covered domains:
3025
31-
- preview.npmjs.com
3226
- registry.npmjs.org
3327
- status.npmjs.org (-> npmjs.statuspage.io)
3428
@@ -37,8 +31,6 @@
3731

3832
<!-- Direct rewrites:
3933
-->
40-
<target host="preview.npmjs.com" />
41-
4234
<target host="npmjs.org" />
4335
<target host="registry.npmjs.org" />
4436
<target host="www.npmjs.org" />
@@ -48,13 +40,6 @@
4840
<target host="status.npmjs.org" />
4941

5042

51-
<!-- Not secured by server:
52-
-->
53-
<!--securecookie host="\.npmjs\.com$" name="^SS_MID$" /-->
54-
<!--securecookie host="^preview\.npmjs\.com$" name="^crumb$" /-->
55-
<!--securecookie host="^www\.npmjs\.com$" name="^(JSESSIONID|crumb)$" /-->
56-
57-
<securecookie host="^preview\.npmjs\.com$" name=".+" />
5843
<securecookie host="^npmjs\.org$" name=".+" />
5944

6045

0 commit comments

Comments
 (0)