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

Commit 3185d5c

Browse files
author
Chan Chak Shing
authored
Update Ubuntu.xml (#19154)
* Update Ubuntu.xml * Update Ubuntu.xml * Create AskUbuntu.com.xml * Update Ubuntu (CN) related rulesets * Remove AskUbuntu.com.xml
1 parent 10c69d3 commit 3185d5c

File tree

4 files changed

+64
-84
lines changed

4 files changed

+64
-84
lines changed

src/chrome/content/rules/Ubuntu-CN.xml

Lines changed: 0 additions & 41 deletions
This file was deleted.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<!--
2+
For other Ubuntu.com related rulesets, see
3+
+ Ubuntu.xml
4+
-->
5+
<ruleset name="Ubuntu.com.cn">
6+
<target host="ubuntu.com.cn" />
7+
<target host="forum.ubuntu.com.cn" />
8+
<target host="linux.ubuntu.com.cn" />
9+
<target host="paste.ubuntu.com.cn" />
10+
<target host="wiki.ubuntu.com.cn" />
11+
<target host="www.ubuntu.com.cn" />
12+
13+
<rule from="^http:" to="https:" />
14+
</ruleset>
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<!--
2+
For other Ubuntu.com related rulesets, see
3+
+ Ubuntu.xml
4+
-->
5+
<ruleset name="Ubuntu.org.cn">
6+
<target host="ubuntu.org.cn" />
7+
<target host="forum.ubuntu.org.cn" />
8+
<target host="linux.ubuntu.org.cn" />
9+
<target host="paste.ubuntu.org.cn" />
10+
<target host="wiki.ubuntu.org.cn" />
11+
<target host="www.ubuntu.org.cn" />
12+
13+
<rule from="^http:" to="https:" />
14+
</ruleset>

src/chrome/content/rules/Ubuntu.xml

Lines changed: 36 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,37 @@
11
<!--
22
Other Ubuntu rulesets:
3-
+ Ubuntu-CN.xml
3+
+ Ubuntu.com.cn.xml
4+
+ Ubuntu.org.cn.xml
45
5-
Preloaded hosts
6+
HSTS preloaded:
67
- login.ubuntu.com
78
89
Non-functional hosts
910
Couldn't connect to server:
10-
- archive.ubuntu.com
11-
- cdimage.ubuntu.com
12-
- font.ubuntu.com
13-
- old-releases.ubuntu.com
14-
- one.ubuntu.com
15-
- releases.ubuntu.com
16-
- screenshots.ubuntu.com
17-
- security.ubuntu.com
18-
- tour.ubuntu.com
19-
- upstart.ubuntu.com
11+
- archive.ubuntu.com
12+
- cdimage.ubuntu.com
13+
- old-releases.ubuntu.com
14+
- security.ubuntu.com
2015
2116
Timeout was reached:
22-
- brainstorm.ubuntu.com
23-
- bugs.ubuntu.com
24-
- cloud.ubuntu.com
25-
- jobs.ubuntu.com
26-
- kernel.ubuntu.com
27-
- people.ubuntu.com
28-
- phablet.ubuntu.com
29-
- planet.ubuntu.com
30-
- popcon.ubuntu.com
31-
- reports.qa.ubuntu.com
32-
- women.ubuntu.com
17+
- reports.qa.ubuntu.com
18+
- women.ubuntu.com
3319
3420
SSL connect error:
35-
- loco.ubuntu.com
36-
- iso.qa.ubuntu.com
37-
- testcases.qa.ubuntu.com
21+
- status.ubuntu.com
22+
- summit.ubuntu.com
3823
3924
SSL peer certificate was not OK:
40-
- pad.ubuntu.com
41-
- status.ubuntu.com
42-
43-
Peer certificate cannot be authenticated with given CA certificates:
44-
- ask.ubuntu.com
45-
- packaging.ubuntu.com
25+
- ask.ubuntu.com
26+
- brainstorm.ubuntu.com
27+
- bugs.ubuntu.com
28+
- upstart.ubuntu.com
4629
4730
Mixed content blocking (MCB) triggered:
48-
- lists.ubuntu.com
49-
- odm.ubuntu.com
50-
- summit.ubuntu.com
51-
- uds.ubuntu.com
52-
53-
Incomplete certificate chain:
54-
- certification.ubuntu.com
31+
- lists.ubuntu.com
32+
- odm.ubuntu.com
33+
- iso.qa.ubuntu.com
34+
- testcases.qa.ubuntu.com
5535
-->
5636
<ruleset name="Ubuntu.com (partial)">
5737
<target host="ubuntu.com" />
@@ -60,32 +40,45 @@
6040
<target host="assets.ubuntu.com" />
6141
<test url="http://assets.ubuntu.com/v1/0df231d4-core-print.css" />
6242
<target host="buy.ubuntu.com" />
43+
<target host="certification.ubuntu.com" />
6344
<target host="changelogs.ubuntu.com" />
45+
<target host="cloud.ubuntu.com" />
6446
<target host="cloud-images.ubuntu.com" />
6547
<target host="community.ubuntu.com" />
6648
<target host="design.ubuntu.com" />
6749
<target host="developer.ubuntu.com" />
6850
<target host="myapps.developer.ubuntu.com" />
6951
<target host="entropy.ubuntu.com" />
7052
<target host="errors.ubuntu.com" />
53+
<target host="font.ubuntu.com" />
7154
<target host="fridge.ubuntu.com" />
7255
<target host="help.ubuntu.com" />
7356
<target host="insights.ubuntu.com" />
7457
<target host="irclogs.ubuntu.com" />
58+
<target host="jobs.ubuntu.com" />
7559
<target host="juju.ubuntu.com" />
60+
<target host="kernel.ubuntu.com" />
7661
<target host="keyserver.ubuntu.com" />
77-
<!-- HTTPS doesn't work on port 11371 -->
78-
<exclusion pattern="^http://keyserver\.ubuntu\.com:11371/" />
79-
<test url="http://keyserver.ubuntu.com:11371/pks/lookup?op=vindex&amp;search=extension-devs%40eff.org&amp;fingerprint=on" />
62+
<!-- HTTPS doesn't work on port 11371 -->
63+
<exclusion pattern="^http://keyserver\.ubuntu\.com:11371/" />
64+
<test url="http://keyserver.ubuntu.com:11371/pks/lookup?op=vindex&amp;search=extension-devs%40eff.org&amp;fingerprint=on" />
65+
<target host="loco.ubuntu.com" />
8066
<target host="maas.ubuntu.com" />
8167
<target host="manpages.ubuntu.com" />
8268
<target host="merges.ubuntu.com" />
8369
<target host="packages.ubuntu.com" />
70+
<target host="packaging.ubuntu.com" />
71+
<target host="pad.ubuntu.com" />
8472
<target host="partners.ubuntu.com" />
8573
<target host="paste.ubuntu.com" />
8674
<target host="pastebin.ubuntu.com" />
8775
<target host="patches.ubuntu.com" />
88-
<target host="shop.ubuntu.com" />
76+
<target host="people.ubuntu.com" />
77+
<target host="planet.ubuntu.com" />
78+
<target host="popcon.ubuntu.com" />
79+
<target host="releases.ubuntu.com" />
80+
<test url="http://releases.ubuntu.com/19.10/SHA256SUMS.gpg" />
81+
<target host="tour.ubuntu.com" />
8982
<target host="tutorials.ubuntu.com" />
9083
<target host="uec-images.ubuntu.com" />
9184
<target host="wiki.ubuntu.com" />

0 commit comments

Comments
 (0)