forked from EFForg/https-everywhere
-
Notifications
You must be signed in to change notification settings - Fork 0
/
126.com.xml
26 lines (22 loc) · 1.27 KB
/
126.com.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
<ruleset name="126.com">
<!-- Directly: -->
<target host="ssl.mail.126.com" />
<!-- Complications: -->
<target host="mail.126.com" />
<exclusion pattern="^http://mail\.126\.com/(?!favicon\.ico)" />
<test url="http://mail.126.com/favicon.ico" />
<test url="http://mail.126.com/entry/cgi/ntesdoor?df=loginjustnowmail126&funcid=loginjustnow&iframe=1" />
<target host="passport.126.com" />
<!-- MCB -->
<exclusion pattern="^http://passport\.126\.com/webzj/m126_1\.0\.1/pub/index_dl\.html" />
<test url="http://passport.126.com/webzj/m126_1.0.1/pub/index_dl.html?wdaId=" />
<!-- Avoid CORS problem when logging in at http://mail.126.com -->
<exclusion pattern="^http://passport\.126\.com/dl/(ini|gt|l|vfcp)" />
<test url="http://passport.126.com/dl/ini?pd=mail126&pkid=QdQXWEQ&pkht=mail.126.com" />
<!-- these tests happen after clicking the green login button with a valid username/password -->
<test url="http://passport.126.com/dl/gt?un=username" />
<test url="http://passport.126.com/dl/l" />
<!-- the below test happen after clicking the green login button with a invalid username/password, https will return errors whatever CAPTCHA input -->
<test url="http://passport.126.com/dl/vfcp" />
<rule from="^http:" to="https:" />
</ruleset>