|
23 | 23 |
|
24 | 24 | - lenovo.com subdomains: |
25 | 25 |
|
26 | | - - blog * |
| 26 | + - blog ¹ |
27 | 27 | - consumersupport ** |
28 | | - - news (handshake fails) |
29 | | - - social * |
30 | | - - support ** |
| 28 | + - news ³ |
| 29 | + - www.partnerinfo ¹ |
| 30 | + - www2.partnerinfo ¹ |
| 31 | + - partners ¹ |
| 32 | + - social ⁵ |
31 | 33 |
|
32 | 34 | - training.lenovo.partner-management.com |
33 | 35 |
|
34 | | - * Redirects to www.lenovoblogs.com; expired 2011-10-05, CN: localhost.localdomain |
35 | | - ** Times out |
| 36 | + ¹ Refused |
| 37 | + ** 504, Akamai |
| 38 | + ³ Show www.tvweeklynow.com |
| 39 | + ⁵ Dropped |
36 | 40 |
|
37 | 41 |
|
38 | 42 | Problematic domains: |
39 | 43 |
|
40 | | - - lenovo.com (cert is only valid for www) |
41 | | - - forum.lenovo.com * |
| 44 | + - lenovo.com ¹ |
| 45 | + - apps.lenovo.com ¹ |
| 46 | + - forum.lenovo.com ¹ |
42 | 47 | - outlet.lenovo.com ($ 404s, some pages redirect to http, some paths work) |
| 48 | + - ovp.lenovo.com ³ |
| 49 | + - shareit.lenovo.com ¹ |
| 50 | +
|
43 | 51 | - (www.)lenovovision.com ** |
44 | 52 | - (www.)thinkpad.com ** |
45 | 53 |
|
| 54 | + ¹ Mismatched |
46 | 55 | * Mismatched, CN: secure01.lithium.com |
| 56 | + ³ Missing certificate chain, see https://whatsmychaincert.com |
47 | 57 | ** Times out |
48 | 58 |
|
49 | 59 |
|
|
68 | 78 | - (www.)lenovovision.com (→ www.lenovo.com) |
69 | 79 | - (www.)thinkpad.com (→ www.lenovo.com) |
70 | 80 |
|
| 81 | +
|
| 82 | + Insecure cookies are set for these hosts and domains: |
| 83 | +
|
| 84 | + - ovp.lenovo.com |
| 85 | + - support.lenovo.com |
| 86 | + - .support.lenovo.com |
| 87 | +
|
| 88 | +
|
| 89 | + Mixed content: |
| 90 | +
|
| 91 | + - Images, on: |
| 92 | +
|
| 93 | + - forums from www.msfn.org |
| 94 | + - forums from lenovoblogs.com |
| 95 | + - www.lenovo.com from $self |
| 96 | + - www.lenovo.com from shop.lenovo.com |
| 97 | +
|
| 98 | + - favicon on www.lenovo.com from $self |
| 99 | +
|
| 100 | + - Bug on forums from lenovoblogs.112.2o7.net |
| 101 | +
|
71 | 102 | --> |
72 | | -<ruleset name="Lenovo (partial)" platform="mixedcontent" default_off="Needs ruleset tests"> |
| 103 | +<ruleset name="Lenovo (partial)"> |
73 | 104 |
|
74 | | - <target host="lenovo.co.uk" /> |
75 | | - <target host="www.lenovo.co.uk" /> |
76 | | - <target host="lenovo.com" /> |
77 | | - <target host="*.lenovo.com" /> |
| 105 | + <!-- Direct rewrites: |
| 106 | + --> |
| 107 | + <target host="checkout.lenovo.com" /> |
| 108 | + <target host="download.lenovo.com" /> |
| 109 | + <target host="forums.lenovo.com" /> |
| 110 | + <target host="outlet.lenovo.com" /> |
| 111 | + <target host="s.lenovo.com" /> |
| 112 | + <target host="support.lenovo.com" /> |
78 | 113 | <!-- |
79 | 114 | https://mail1.eff.org/pipermail/https-everywhere-rules/2012-April/001098.html |
80 | 115 |
|
81 | 116 | Redirects that 404. Destinations don't support https: |
82 | 117 | --> |
83 | 118 | <exclusion pattern="^http://www\.lenovo\.com/(?:support|training)/" /> |
| 119 | + |
| 120 | + <test url="http://www.lenovo.com/support/" /> |
| 121 | + <test url="http://www.lenovo.com/training/" /> |
| 122 | + |
| 123 | + <!-- |
| 124 | + Redirects to http: |
| 125 | + --> |
| 126 | + <exclusion pattern="http://shop\.lenovo\.com/\w\w/\w\w/services-warranty(?:$|\?|/)" /> |
84 | 127 | <!-- |
85 | 128 | https://trac.torproject.org/projects/tor/ticket/9056 |
86 | 129 |
|
87 | 130 | $ no longer works, some pages redirect to http: |
88 | 131 | --> |
89 | | - <exclusion pattern="^http://outlet\.lenovo\.com/(?!.+/images/|.+/js/|.+/seutil\.workflow:LoadCombinedResource|ISS_Static/|SEUILibrary/)" /> |
| 132 | + <!--exclusion pattern="^http://outlet\.lenovo\.com/outlet_us/$" /--> |
90 | 133 | <!-- |
91 | | - Redirects to http: |
92 | | - --> |
93 | | - <exclusion pattern="http://shop\.lenovo\.com/\w\w/\w\w/services-warranty(?:$|\?|/)" /> |
| 134 | + Exceptions: |
| 135 | + --> |
| 136 | + <exclusion pattern="^http://outlet\.lenovo\.com/(?!.+/images/|.+/js/|.+/seutil\.workflow:LoadCombinedResource|ISS_Static/|SEUILibrary/)" /> |
| 137 | + |
| 138 | + |
| 139 | + <!-- Complications: |
| 140 | + --> |
| 141 | + <target host="lenovo.co.uk" /> |
| 142 | + <target host="www.lenovo.co.uk" /> |
| 143 | + <target host="thinkpad.com" /> |
| 144 | + <target host="lenovo.com" /> |
| 145 | + <target host="forum.lenovo.com" /> |
| 146 | + <target host="shop.lenovo.com" /> |
| 147 | + <target host="www.lenovo.com" /> |
94 | 148 | <target host="lenovovision.com" /> |
95 | 149 | <target host="www.lenovovision.com" /> |
96 | | - <target host="thinkpad.com" /> |
97 | 150 | <target host="www.thinkpad.com" /> |
98 | 151 |
|
| 152 | + <!-- Downgrades: |
| 153 | + --> |
| 154 | + <target host="blog.lenovo.com" /> |
| 155 | + <target host="consumersupport.lenovo.com" /> |
| 156 | + <target host="news.lenovo.com" /> |
| 157 | + <target host="ovp.lenovo.com" /> |
| 158 | + <target host="social.lenovo.com" /> |
| 159 | + |
| 160 | + |
| 161 | + <!-- Not secured by server: |
| 162 | + --> |
| 163 | + <securecookie host="\.lenovo\.com$" name="^VISITORID$" /> |
| 164 | + <securecookie host="forums\.lenovo\.com$" name="^(LiSESSIONID|LithiumUserInfo|LithiumUserSecure|LithiumVisitor)$" /> |
| 165 | + <securecookie host="^ovp\.lenovo\.com$" name="^JSESSIONID$" /> |
| 166 | + <securecookie host="^support\.lenovo\.com$" name="^esupport#lang$" /> |
| 167 | + <securecookie host="^\.support\.lenovo\.com$" name="^esupport#lang1$" /> |
| 168 | + |
| 169 | + <securecookie host="\.lenovo\.com$" name="VISITORID" /> |
| 170 | + <securecookie host="(?:forums|\.?support)\.lenovo\.com$" name=".+" /> |
99 | 171 |
|
100 | 172 | <!-- Tracking cookies: |
101 | 173 | These have been observed to break partner referral links and so are |
|
105 | 177 | --> |
106 | 178 |
|
107 | 179 |
|
108 | | - <rule from="^http://(?:www\.)?lenovo\.co\.uk/?$" |
| 180 | + <rule from="^http://(?:www\.)?lenovo\.co\.uk/$" |
109 | 181 | to="https://www.lenovo.com/uk/en/" /> |
110 | 182 |
|
111 | | - <!-- https://trac.torproject.org/projects/tor/ticket/8715 |
112 | | -
|
113 | | - International domains fail to redirect properly: |
114 | | - --> |
115 | | - <rule from="^http://(?:www\.)?lenovo\.com(?::80)?/(?!us)(\w\w)/?(?:\?.*)?$" |
116 | | - to="https://www.lenovo.com/$1/$1/" /> |
117 | | - |
118 | 183 | <!-- 404s as-is: |
119 | 184 | --> |
120 | 185 | <rule from="^http://(?:www\.)?lenovo\.com/depotstatus/?$" |
121 | 186 | to="https://download.lenovo.com/lenovo/content/vru/depotstatus.html" /> |
122 | 187 |
|
| 188 | + <test url="http://lenovo.com/depotstatus" /> |
| 189 | + <test url="http://lenovo.com/depotstatus/" /> |
| 190 | + <test url="http://www.lenovo.com/depotstatus" /> |
| 191 | + |
123 | 192 | <!-- 404s as-is: |
124 | 193 | --> |
125 | 194 | <rule from="^http://(?:www\.)?lenovo\.com/friendsandfamily/?$" |
126 | 195 | to="https://shop.lenovo.com/SEUILibrary/controller/Lenovo:EnterStdAffinity?affinity=lenovofamily&ConfigContext=StdAffinityPortal" /> |
127 | 196 |
|
| 197 | + <test url="http://lenovo.com/friendsandfamily" /> |
| 198 | + <test url="http://lenovo.com/friendsandfamily/" /> |
| 199 | + <test url="http://www.lenovo.com/friendsandfamily/" /> |
| 200 | + |
128 | 201 | <!-- https://trac.torproject.org/projects/tor/ticket/6604 |
129 | 202 |
|
130 | 203 | thinkpad.com redirects to www.lenovo.com/link/redirect.www.lenovo.com/www.thinkpad.com/, |
131 | 204 | which 404s over https but redirects like so over http: |
132 | 205 | --> |
133 | | - <rule from="^http://(?:(?:www\.)?lenovo\.com/link/redirect\.www\.lenovo\.com/)?(?:www\.)?thinkpad\.com/(?:.*)" |
| 206 | + <rule from="^http://(?:(?:www\.)?lenovo\.com/link/redirect\.www\.lenovo\.com/)?(?:www\.)?thinkpad\.com/.*" |
134 | 207 | to="https://www.lenovo.com/us/en/?cid=SEO-thinkpadcom" /> |
135 | 208 |
|
136 | 209 | <rule from="^http://lenovo\.com/" |
137 | 210 | to="https://www.lenovo.com/" /> |
138 | 211 |
|
139 | | - <!-- 404s as-is: |
| 212 | + <rule from="^http://forum\.lenovo\.com/" |
| 213 | + to="https://forums.lenovo.com/" /> |
| 214 | + |
| 215 | + <!-- Loops as-is: |
140 | 216 | --> |
141 | 217 | <rule from="^http:///shop\.lenovo\.com/us/?$" |
142 | | - to="https://www.lenovo.com/products/us/desktop/essential/c-series" /> |
| 218 | + to="https://www.lenovo.com/us/en/?redir=y&redirsrc=1" /> |
143 | 219 |
|
144 | | - <rule from="^http://(checkout|download|outlet|s|shop|www)\.lenovo\.com/" |
145 | | - to="https://$1.lenovo.com/"/> |
146 | | - |
147 | | - <rule from="^http://forums?\.lenovo\.com/" |
148 | | - to="https://forums.lenovo.com/" /> |
| 220 | + <test url="http:///shop.lenovo.com/us" /> |
| 221 | + <test url="http:///shop.lenovo.com/us/" /> |
149 | 222 |
|
150 | 223 | <!-- https://mail1.eff.org/pipermail/https-everywhere-rules/2012-June/001189.html |
151 | 224 |
|
152 | 225 | shop.lenovo points here: |
153 | 226 | --> |
154 | | - <rule from="^http://(?:www\.)?lenovovision\.com/(?:.*)" |
| 227 | + <rule from="^http://(?:www\.)?lenovovision\.com/.*" |
155 | 228 | to="https://www.lenovo.com/" /> |
156 | 229 |
|
| 230 | + <test url="http://lenovovision.com/foo" /> |
| 231 | + |
| 232 | + |
| 233 | + <rule from="^http:" |
| 234 | + to="https:" /> |
| 235 | + |
| 236 | + |
157 | 237 | <!-- https://mail1.eff.org/pipermail/https-everywhere-rules/2012-April/001098.html |
158 | 238 |
|
159 | 239 | training redirects to training.lenovo.partner-management.com: |
160 | 240 | --> |
161 | 241 | <rule from="^https://www\.lenovo\.com/training/" |
162 | 242 | to="http://www.lenovo.com/training/" downgrade="1" /> |
163 | 243 |
|
| 244 | + <test url="https://www.lenovo.com/training/" /> |
| 245 | + |
164 | 246 | <!-- - Social just redirects to blog |
165 | | - - Haven't seen blog nor support links, but just in case. |
166 | | - --> |
167 | | - <rule from="^https://(blog|(?:consumer)?support|news|social)\.lenovo\.com/" |
| 247 | + --> |
| 248 | + <rule from="^https://(blog|consumersupport|news|ovp|www\.partnerinfo|social)\.lenovo\.com/" |
168 | 249 | to="http://$1.lenovo.com/" downgrade="1" /> |
169 | 250 |
|
170 | 251 | </ruleset> |
0 commit comments