Skip to content

Commit e0c6c53

Browse files
committed
Merge pull request EFForg#2042 from TonyZTan/patch-9
[Andover.edu] Fix mail.andover.edu rule
2 parents 0f9904f + 28dc1d1 commit e0c6c53

File tree

1 file changed

+25
-12
lines changed

1 file changed

+25
-12
lines changed

src/chrome/content/rules/Phillips_Academy_Andover.xml

Lines changed: 25 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
1-
<!--
2-
Phillips Academy Andover
3-
4-
5-
Problematic hosts in *andover.edu:
6-
7-
- mail *
8-
9-
* Expired
10-
11-
-->
121
<ruleset name="Phillips Academy">
132

143
<target host="www.andover.edu" />
@@ -17,13 +6,37 @@
176
<target host="colwizlive.andover.edu" />
187
<target host="sso.andover.edu" />
198
<target host="studentreports.andover.edu" />
20-
<!--target host="mail.andover.edu" /-->
219
<target host="mypassword.andover.edu" />
2210
<target host="student.andover.edu" />
2311
<target host="patechmasters.com" />
2412
<target host="*.patechmasters.com" />
2513

14+
15+
<!-- andover.edu does not respond, but should be redirected to https://www.andover.edu to prevent MitM. -->
16+
<target host="andover.edu" />
17+
18+
<!-- mail.andover.edu returns an error, but should be included to protect mail.andover.edu/owa -->
19+
<!-- commented out until 'no-test' attribute is available
20+
<target host="mail.andover.edu" />
21+
-->
22+
23+
<test url="http://andover.edu/" />
24+
2625
<securecookie host=".+" name=".+" />
26+
27+
<!-- redirects andover.edu to https://www.andover.edu -->
28+
<rule from="^http://andover\.edu/"
29+
to="https://www.andover.edu/" />
30+
31+
32+
<!-- redirects http://mail.andover.edu/ (with or without "/") to https://mail.andover.edu/owa -->
33+
<!-- commented out until 'no-test' attribute is available
34+
<rule from="^http://mail\.andover\.edu/*$"
35+
to="https://mail.andover.edu/owa" />
36+
37+
<test url="http://mail.andover.edu" />
38+
<test url="http://mail.andover.edu/" />
39+
-->
2740

2841
<rule from="^http:"
2942
to="https:" />

0 commit comments

Comments
 (0)