Skip to content

Commit 8079c7b

Browse files
Bisalooluciancor
authored andcommitted
[Stallman.org] Simplify ruleset (EFForg#11213)
1 parent 63dbaa4 commit 8079c7b

1 file changed

Lines changed: 8 additions & 15 deletions

File tree

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,14 @@
1+
<!--
2+
Invalid certificate:
3+
ww.stallman.org
4+
5+
-->
16
<ruleset name="Stallman.org">
7+
28
<target host="stallman.org" />
3-
<target host="ww.stallman.org" />
49
<target host="www.stallman.org" />
510

6-
<test url="http://stallman.org/" />
7-
<test url="http://www.stallman.org/" />
8-
<test url="http://ww.stallman.org/" />
9-
<test url="https://ww.stallman.org/" />
11+
<rule from="^http:"
12+
to="https:" />
1013

11-
<!-- The stallman.org site does in fact have a
12-
working ww (not a typo) subdomain that supports
13-
HTTPS (but with a certificate mismatch error)
14-
and which has the same content as the normal
15-
www subdomain. As such, the ww subdomain is
16-
redirected to the www subdomain. -->
17-
<rule from="^https?://ww\.stallman\.org/"
18-
to="https://www.stallman.org/" />
19-
<rule from="^http://(www\.)?stallman\.org/"
20-
to="https://$1stallman.org/" />
2114
</ruleset>

0 commit comments

Comments
 (0)