Skip to content

Commit fc15140

Browse files
committed
Merge pull request EFForg#2646 from fuglede/habrahabr-fix
[Habrahabr.ru] Fix icons
2 parents 3edb595 + 5689961 commit fc15140

1 file changed

Lines changed: 15 additions & 12 deletions

File tree

src/chrome/content/rules/Habrahabr.ru.xml

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,7 @@
88
- m ²
99
1010
¹ 503, valid cert
11-
² Redirects to ^
12-
13-
14-
Fully covered subdomains:
15-
16-
- auth
17-
- special
11+
² Invalid CN in cert
1812
1913
2014
Mixed content:
@@ -32,30 +26,39 @@
3226
<ruleset name="Habrahabr.ru (partial)">
3327

3428
<target host="habrahabr.ru" />
35-
<target host="*.habrahabr.ru" />
29+
<target host="www.habrahabr.ru" />
30+
<target host="auth.habrahabr.ru" />
3631
<!--
3732
Redirect to http:
3833
-->
3934
<!--exclusion pattern="^http://habrahabr\.ru/$" /-->
4035
<!--
4136
Exceptions:
4237
-->
43-
<exclusion pattern="^http://habrahabr\.ru/(?!auth(?:$|[?/])|common\.css|favicon\.ico|habr\.gif|images/|main\.css|styles/)" />
38+
<exclusion pattern="^http://habrahabr\.ru/(?!auth/|favicon\.ico|images/)" />
4439

40+
<test url="http://habrahabr.ru/" />
41+
<test url="http://habrahabr.ru/auth/" />
42+
<test url="http://habrahabr.ru/favicon.ico" />
43+
<test url="http://habrahabr.ru/images/" />
4544

4645
<!-- Not secured by server:
4746
-->
4847
<!--securecookie host="^special\.habrahabr\.ru$" name="^captcha$" /-->
4948

50-
<securecookie host="^special\.habrahabr\.ru$" name=".+" />
49+
<!--securecookie host="^special\.habrahabr\.ru$" name=".+" /-->
5150

5251

5352
<!-- 404s on www:
5453
-->
55-
<rule from="^http://www\.habrahabr\.ru/(?=auth(?:$|[?/])|favicon\.ico|images/|styles/)"
54+
<rule from="^http://www\.habrahabr\.ru/(?=auth/|favicon\.ico|images/)"
5655
to="https://habrahabr.ru/" />
5756

58-
<rule from="^http://((?:auth|special|www)\.)?habrahabr\.ru/"
57+
<test url="http://www.habrahabr.ru/auth/" />
58+
<test url="http://www.habrahabr.ru/favicon.ico" />
59+
<test url="http://www.habrahabr.ru/images/" />
60+
61+
<rule from="^http://((?:auth|www)\.)?habrahabr\.ru/"
5962
to="https://$1habrahabr.ru/" />
6063

6164
</ruleset>

0 commit comments

Comments
 (0)