forked from EFForg/https-everywhere
/
Stack-Exchange.xml
177 lines (123 loc) · 4.55 KB
/
Stack-Exchange.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
<!--
Disabled by https-everywhere-checker because:
Fetch error: http://app.stacktack.com/ => https://s3.amazonaws.com/stacktackapp/: (6, 'Could not resolve host: app.stacktack.com')
For rules causing false/broken MCB, Stack-Exchange-mixedcontent.xml.
Other Stack Exchange rulesets:
- Ask_Ubuntu.com.xml
- MathOverflow.net.xml
- Server_Fault.com.xml
Problematic domains:
- www.stackapps.com ¹
- meta.*.stackexchange.com ²
¹ Mismatched
² Works; mismatched, CN: *.stackexchange.com
Partially covered domains:
- blog.stackoverflow.com *
* Avoiding false/broken MCB
Fully covered domains:
- cdn-careers.sstatic.com
- cdn-chat.sstatic.com
- *.stackexchange.com
- teststackoverflow.com
- *.blogoverflow.com
www.teststackoverflow.com doesn't exist.
Mixed content:
- css, on:
- blog.stackoverflow.com from $self
- Images, on:
- blog.stackoverflow.com, from:
- $self ¹
- www.google.com ¹
- favicons, on:
- blog.stackoverflow.com from cdn.sstatic.net ¹
- Web bugs, on:
- *.stackexchange.com from pixel.quantserve.com ²
- blog.stackoverflow.com from i.creativecommons.org ¹
- careers.stackoverflow.com from www.esri.com ³
¹ Secured by us
² Rewritten to https with js enabled, secured by us otherwise
³ Unsecurable <= 503
As of Dec., 2013, stackexchange has a cert valid for:
- *.stackexchange.com
- stackexchange.com
- meta.stackexchange.com
- *.meta.stackexchange.com
- *.stackoverflow.com
- stackoverflow.com
- serverfault.com
- stackauth.com
- sstatic.net
- meta.serverfault.com
- superuser.com
- meta.superuser.com
- stackapps.com
- openid.stackauth.com
- *.blogoverflow.com (Dec., 2014)
Insecure cookies are set for the following domains:
- .serverfault.com
- .stackexchange.com
- stackoverflow.com
- .stackoverflow.com
-->
<ruleset name="Stack Exchange (partial)" default_off='failed ruleset test'>
<target host="blogoverflow.com" />
<target host="www.blogoverflow.com" />
<target host="sstatic.net" />
<target host="*.sstatic.net" />
<target host="stackapps.com" />
<target host="www.stackapps.com" />
<target host="stackexchange.com" />
<target host="*.stackexchange.com" />
<!--
https://github.com/EFForg/https-everywhere/issues/58
Breaks OpenID login:
-->
<exclusion pattern="^http://(?:\w+\.)?stack(?:exchange|overflow)\.com/users/authenticate/" />
<target host="stackoverflow.com" />
<target host="*.stackoverflow.com" />
<!--
Avoid false/broken MCB:
-->
<exclusion pattern="^http://blog\.stackoverflow\.com/+(?!favicon\.ico|wp-content/|wp-includes/)" />
<target host="app.stacktack.com" />
<target host="superuser.com" />
<target host="*.superuser.com" />
<target host="teststackoverflow.com" />
<target host="*.teststackoverflow.com" />
<!-- Not secured by server:
-->
<!--securecookie host="^\.serverfault\.com$" name="^prov$" /-->
<!--securecookie host="^\.stackexchange\.com$" name="^prov$" /-->
<!--securecookie host="^stackoverflow\.com$" name="^rk-\d+$" /-->
<!--securecookie host="^\.stackoverflow\.com$" name="^prov$" /-->
<securecookie host="^\.sstatic\.net$" name=".+" />
<securecookie host="\.stackexchange\.com$" name=".+" />
<securecookie host="^stackoverflow\.com$" name=".+" />
<securecookie host="^\.teststackoverflow\.com$" name=".+" />
<rule from="^http://(?:www\.)?blogoverflow\.com/$"
to="https://stackexchange.com/blogs" />
<rule from="^http://([^\/]+)\.blogoverflow\.com/"
to="https://$1.blogoverflow.com/" />
<rule from="^http://(?:(or\.)?cdn\.)?sstatic\.net/"
to="https://$1cdn.sstatic.net/" />
<rule from="^http://cdn-c(areers|hat)\.sstatic\.net/"
to="https://cdn-c$1.sstatic.net/" />
<rule from="^http://(?:www\.)?stackapps\.com/"
to="https://stackapps.com/" />
<rule from="^http://((?:\w+|meta\.\w+|discuss\.area51)\.)?stackexchange\.com/"
to="https://$1stackexchange.com/" />
<rule from="^http://((?:blog|www|meta|careers)\.)?stackoverflow\.com/"
to="https://$1stackoverflow.com/" />
<rule from="^http://app\.stacktack\.com/"
to="https://s3.amazonaws.com/stacktackapp/" />
<rule from="^http://(www\.|meta\.)?superuser\.com/"
to="https://$1superuser.com/" />
<rule from="^http://(\w\w)\.stackoverflow\.com/"
to="https://$1.stackoverflow.com/" />
<rule from="^http://meta\.(\w\w)\.stackoverflow\.com/"
to="https://meta.$1.stackoverflow.com/" />
<rule from="^http://discuss\.area51\.stackexchange\.com/"
to="https://discuss.area51.stackexchange.com/" />
<rule from="^http://teststackoverflow\.com/"
to="https://teststackoverflow.com/" />
</ruleset>