Skip to content

Commit 8f3b45c

Browse files
author
MB
committed
Youku.com: Add/update comments/coverage, cosmetics
1 parent 51cddb9 commit 8f3b45c

2 files changed

Lines changed: 41 additions & 13 deletions

File tree

src/chrome/content/rules/Youku.com.xml

Lines changed: 40 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
Nonfunctional subdomains:
2+
Nonfunctional hosts in *youku.com:
33
44
- (www.)? ¹
55
- static.atm ¹
@@ -34,6 +34,7 @@
3434
- travel
3535
- tv ¹
3636
- v ¹
37+
- vip ¹
3738
- yj ¹
3839
- bbs.yj ¹
3940
- yuanxian ¹
@@ -44,30 +45,56 @@
4445
³ Plaintext reply
4546
4647
47-
Fully covered subdomains:
48+
Problematic hosts in *youku.com:
4849
49-
- login
50-
- vip
50+
- login *
51+
- passport ˣ
5152
53+
* Protocol-relative inclusions of static.ykimg.com
54+
ˣ Mixed css
5255
53-
Mixed content:
5456
55-
- css on vip from static.youku.com *
57+
Insecure cookies are set for these domains:
58+
59+
- .youku.com
60+
5661
57-
- Images, on:
62+
Mixed content:
63+
64+
- css on passport from static.youku.com ʳ
5865
59-
- vip from r[1-4].ykimg.com *
60-
- vip from static.atm.youku.com *
61-
- vip from static.youku.com *
66+
ʳ Unsecurable <= refused
6267
63-
* Unsecurable <= refused -
64-
-
6568
-->
6669
<ruleset name="Youku.com (partial)" platform="mixedcontent">
6770

71+
<!-- Direct rewrites:
72+
-->
6873
<target host="login.youku.com" />
69-
<target host="vip.youku.com" />
74+
<target host="passport.youku.com" />
75+
76+
<!-- Complications:
77+
-->
78+
<target host="static.ykimg.com" />
79+
80+
<exclusion pattern="^http://static\.ykimg\.com/" />
81+
82+
<!-- +ve:
83+
-->
84+
<test url="http://static.ykimg.com/yk/lib/css/youku.17b39556b5.css" />
85+
86+
87+
<!-- Not secured by server:
88+
-->
89+
<!--securecookie name="^\.youku\.com$" host="^ykss$" /-->
90+
91+
92+
<!-- Protocol-relative includes on login:
93+
-->
94+
<rule from="^https://static\.ykimg\.com/"
95+
to="http://static.ykimg.com/" downgrade="1" />
7096

97+
<test url="https://static.ykimg.com/yk/passport/css/login_page.ee46495e24.css" />
7198

7299
<rule from="^http:"
73100
to="https:" />

utils/downgrade-whitelist.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ SRG SSR (partial)
2222
Stack Exchange (partial)
2323
University of Alaska Anchorage (partial)
2424
Visa (partial)
25+
Youku.com (partial)

0 commit comments

Comments
 (0)