Skip to content

Commit 80c587a

Browse files
committed
[Stack-Exchange] Update with rules from Master
1 parent 15e4e3c commit 80c587a

File tree

1 file changed

+81
-36
lines changed

1 file changed

+81
-36
lines changed
Lines changed: 81 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,85 @@
1+
<!--
2+
Nonfunctional domains:
3+
4+
- chat.stackexchange.com (Mixed content)
5+
- meta.*.stackexchange.com (cert: *.stackexchange.com)
6+
7+
8+
Fully covered domains:
9+
10+
- *.stackexchange.com
11+
12+
As of Dec., 2013, stackexchange has a cert valid for:
13+
- *.stackexchange.com
14+
- stackexchange.com
15+
- meta.stackexchange.com
16+
- *.meta.stackexchange.com
17+
- *.stackoverflow.com
18+
- stackoverflow.com
19+
- serverfault.com
20+
- stackauth.com
21+
- sstatic.net
22+
- meta.serverfault.com
23+
- superuser.com
24+
- meta.superuser.com
25+
- stackapps.com
26+
- openid.stackauth.com
27+
28+
-->
129
<ruleset name="Stack Exchange (partial)">
230

3-
<target host="askubuntu.com"/>
4-
<target host="www.askubuntu.com"/>
5-
<target host="blogoverflow.com"/>
6-
<target host="www.blogoverflow.com"/>
7-
<target host="sstatic.net"/>
8-
<target host="cdn.sstatic.net"/>
9-
<target host="serverfault.com"/>
10-
<target host="www.serverfault.com"/>
11-
<target host="stackexchange.com"/>
12-
<target host="*.stackexchange.com"/>
13-
<target host="stackoverflow.com"/>
14-
<target host="www.stackoverflow.com"/>
15-
<target host="app.stacktack.com"/>
16-
<target host="superuser.com"/>
17-
<target host="www.superuser.com"/>
18-
19-
<rule from="^http://(?:www\.)?(askubuntu|serverfault|stackoverflow|superuser)\.com/favicon\.ico"
20-
to="https://cdn.sstatic.net/$1/img/favicon.ico"/>
21-
22-
<rule from="^http://(?:www\.)?blogoverflow\.com/$"
23-
to="https://stackexchange.com/blogs"/>
24-
25-
<rule from="^http://(?:cdn\.)?sstatic\.net/"
26-
to="https://cdn.sstatic.net/"/>
27-
28-
<rule from="^http://(meta\.|www\.)?stackexchange\.com/"
29-
to="https://$1stackexchange.com/"/>
30-
31-
<rule from="^http://(\w+)\.stackexchange\.com/favicon\.ico"
32-
to="https://cdn.sstatic.net/$1/img/favicon.ico"/>
33-
34-
<rule from="^http://app\.stacktack\.com/"
35-
to="https://s3.amazonaws.com/stacktackapp/"/>
36-
37-
<rule from="^http://meta\.superuser\.com/favicon\.ico"
38-
to="https://cdn.sstatic.net/superusermeta/img/favicon.ico"/>
31+
<target host="askubuntu.com" />
32+
<target host="www.askubuntu.com" />
33+
<target host="blogoverflow.com" />
34+
<target host="www.blogoverflow.com" />
35+
<target host="serverfault.com" />
36+
<target host="*.serverfault.com" />
37+
<target host="sstatic.net" />
38+
<target host="cdn.sstatic.net" />
39+
<target host="or.cdn.sstatic.net" />
40+
<target host="stackexchange.com" />
41+
<target host="*.stackexchange.com" />
42+
<target host="stackoverflow.com" />
43+
<target host="*.stackoverflow.com" />
44+
<target host="app.stacktack.com" />
45+
<target host="superuser.com" />
46+
<target host="*.superuser.com" />
47+
<target host="stackapps.com" />
48+
<exclusion pattern="^http://chat\.stackexchange\.com/" />
49+
50+
<rule from="^https?://(?:www\.)?(stackexchange|askubuntu|serverfault|superuser)\.com/favicon\.ico"
51+
to="https://cdn.sstatic.net/$1/img/favicon.ico" />
52+
53+
<rule from="^https?://(?:\w+\.)?(\w+)\.stackexchange\.com/favicon\.ico"
54+
to="https://cdn.sstatic.net/$1/img/favicon.ico" />
55+
56+
<rule from="^https?://(?:www\.)?blogoverflow\.com/$"
57+
to="https://stackexchange.com/blogs" />
58+
59+
<rule from="^http://(\w+\.)?stackexchange\.com/"
60+
to="https://$1stackexchange.com/" />
61+
62+
<rule from="^https?://(?:(or\.)?cdn\.)?sstatic\.net/"
63+
to="https://$1cdn.sstatic.net/" />
64+
65+
<rule from="^http://(www\.|meta\.|careers\.)?stackoverflow\.com/"
66+
to="https://$1stackoverflow.com/" />
67+
68+
<rule from="^http://(www\.|meta\.)?serverfault\.com/"
69+
to="https://$1serverfault.com/" />
70+
71+
<rule from="^http://(www\.|meta\.)?superuser\.com/"
72+
to="https://$1superuser.com/" />
73+
74+
<rule from="^http://(www\.)?stackapps\.com/"
75+
to="https://$1stackapps.com/" />
76+
77+
<rule from="^https?://app\.stacktack\.com/"
78+
to="https://s3.amazonaws.com/stacktackapp/" />
79+
80+
<rule from="^https?://meta\.superuser\.com/favicon\.ico"
81+
to="https://cdn.sstatic.net/superusermeta/img/favicon.ico" />
82+
83+
<securecookie host="\.stackexchange\.com$" name=".*" />
3984

4085
</ruleset>

0 commit comments

Comments
 (0)