|
113 | 113 | <target host="support.lenovo.com" /> |
114 | 114 | <!-- |
115 | 115 | https://mail1.eff.org/pipermail/https-everywhere-rules/2012-April/001098.html |
| 116 | + https://trac.torproject.org/projects/tor/ticket/18055 |
116 | 117 |
|
117 | 118 | Redirects that 404. Destinations don't support https: |
118 | 119 | --> |
119 | | - <exclusion pattern="^http://www\.lenovo\.com/(?:support|training)/" /> |
| 120 | + <exclusion pattern="^http://www\.lenovo\.com/(lenovorecovery|support|training)" /> |
120 | 121 |
|
121 | | - <test url="http://www.lenovo.com/support/" /> |
122 | | - <test url="http://www.lenovo.com/training/" /> |
| 122 | + <test url="http://www.lenovo.com/lenovorecovery" /> |
| 123 | + <test url="http://www.lenovo.com/support" /> |
| 124 | + <test url="http://www.lenovo.com/training" /> |
123 | 125 |
|
124 | 126 | <!-- Redirects to http: |
125 | 127 | --> |
126 | | - <exclusion pattern="http://shop\.lenovo\.com/\w\w/\w\w/services-warranty(?:$|\?|/)" /> |
| 128 | + <exclusion pattern="http://shop\.lenovo\.com/\w\w/\w\w/services-warranty($|\?|/)" /> |
127 | 129 |
|
128 | 130 | <!-- -ve: |
129 | 131 | --> |
|
164 | 166 | (it's a pity we can't specify for a test whether |
165 | 167 | CORS should cause said test to fail...) |
166 | 168 | --> |
167 | | - <exclusion pattern="http://support\.lenovo\.com/+(?!(?:App|~)/.+\.(?:(?:css|png)(?:$|[?/])|ashx\?w=\d)|~/media/images/system/icon/rss\.ashx)" /> |
| 169 | + <exclusion pattern="http://support\.lenovo\.com/+(?!(App|~)/.+\.((css|png)($|[?/])|ashx\?w=\d)|~/media/images/system/icon/rss\.ashx)" /> |
168 | 170 |
|
169 | 171 | <!-- +ve: |
170 | 172 | --> |
|
202 | 204 | <target host="www.partnerinfo.lenovo.com" /> |
203 | 205 | <target host="social.lenovo.com" /> |
204 | 206 |
|
205 | | - <exclusion pattern="^http://(?:www\.)?lenovo\.co\.uk/(?!$)" /> |
| 207 | + <exclusion pattern="^http://(www\.)?lenovo\.co\.uk/(?!$)" /> |
206 | 208 |
|
207 | 209 | <test url="http://lenovo.co.uk//" /> |
208 | 210 | <test url="http://www.lenovo.co.uk/?" /> |
209 | 211 | <test url="http://www.lenovo.co.uk//" /> |
210 | 212 |
|
211 | | - <exclusion pattern="^http://(?:blog|consumersupport|news|ovp|www\.partnerinfo|social)\.lenovo\.com/" /> |
| 213 | + <exclusion pattern="^http://(blog|consumersupport|news|ovp|www\.partnerinfo|social)\.lenovo\.com/" /> |
212 | 214 |
|
213 | 215 | <test url="http://blog.lenovo.com/" /> |
214 | 216 | <test url="http://consumersupport.lenovo.com" /> |
|
231 | 233 | <!--securecookie host="^\.support\.lenovo\.com$" name="^esupport#lang1$" /--> |
232 | 234 |
|
233 | 235 | <securecookie host="\.lenovo\.com$" name="VISITORID" /> |
234 | | - <securecookie host="(?:forums|\.?support)\.lenovo\.com$" name=".+" /> |
| 236 | + <securecookie host="(forums|\.?support)\.lenovo\.com$" name=".+" /> |
235 | 237 |
|
236 | 238 | <!-- Tracking cookies: |
237 | 239 | These have been observed to break partner referral links and so are |
238 | 240 | disabled... |
239 | | - <securecookie host="^\.lenovo\.com$" name="^(?:exp_|oo_inv_|psp|s_|utag_)\w+$" /> |
240 | | - <securecookie host="^(?:.+\.)?lenovo\.com$" name=".+" /> |
| 241 | + <securecookie host="^\.lenovo\.com$" name="^(exp_|oo_inv_|psp|s_|utag_)\w+$" /> |
| 242 | + <securecookie host="^(.+\.)?lenovo\.com$" name=".+" /> |
241 | 243 | --> |
242 | 244 |
|
243 | 245 |
|
244 | | - <rule from="^http://(?:www\.)?lenovo\.co\.uk/$" |
| 246 | + <rule from="^http://(www\.)?lenovo\.co\.uk/$" |
245 | 247 | to="https://www.lenovo.com/uk/en/" /> |
246 | 248 |
|
247 | 249 | <!-- 404s as-is: |
248 | 250 | --> |
249 | | - <rule from="^http://(?:www\.)?lenovo\.com/depotstatus/?$" |
| 251 | + <rule from="^http://(www\.)?lenovo\.com/depotstatus/?$" |
250 | 252 | to="https://download.lenovo.com/lenovo/content/vru/depotstatus.html" /> |
251 | 253 |
|
252 | 254 | <test url="http://lenovo.com/depotstatus" /> |
|
255 | 257 |
|
256 | 258 | <!-- 404s as-is: |
257 | 259 | --> |
258 | | - <rule from="^http://(?:www\.)?lenovo\.com/friendsandfamily/?$" |
| 260 | + <rule from="^http://(www\.)?lenovo\.com/friendsandfamily/?$" |
259 | 261 | to="https://shop.lenovo.com/SEUILibrary/controller/Lenovo:EnterStdAffinity?affinity=lenovofamily&ConfigContext=StdAffinityPortal" /> |
260 | 262 |
|
261 | 263 | <test url="http://lenovo.com/friendsandfamily" /> |
|
267 | 269 | thinkpad.com redirects to www.lenovo.com/link/redirect.www.lenovo.com/www.thinkpad.com/, |
268 | 270 | which 404s over https but redirects like so over http: |
269 | 271 | --> |
270 | | - <rule from="^http://(?:(?:www\.)?lenovo\.com/link/redirect\.www\.lenovo\.com/)?(?:www\.)?thinkpad\.com/.*" |
| 272 | + <rule from="^http://((www\.)?lenovo\.com/link/redirect\.www\.lenovo\.com/)?(www\.)?thinkpad\.com/.*" |
271 | 273 | to="https://www.lenovo.com/us/en/?cid=SEO-thinkpadcom" /> |
272 | 274 |
|
273 | 275 | <rule from="^http://lenovo\.com/" |
|
278 | 280 |
|
279 | 281 | <!-- Loops as-is: |
280 | 282 | --> |
281 | | - <rule from="^http:///shop\.lenovo\.com/us/en/?(?:\?redir=y&redirsrc=1)?$" |
| 283 | + <rule from="^http:///shop\.lenovo\.com/us/en/?(\?redir=y&redirsrc=1)?$" |
282 | 284 | to="https://www.lenovo.com/us/en/?redir=y&redirsrc=1" /> |
283 | 285 |
|
284 | 286 | <test url="http://shop.lenovo.com/us" /> |
|
289 | 291 |
|
290 | 292 | shop.lenovo points here: |
291 | 293 | --> |
292 | | - <rule from="^http://(?:www\.)?lenovovision\.com/.*" |
| 294 | + <rule from="^http://(www\.)?lenovovision\.com/.*" |
293 | 295 | to="https://www.lenovo.com/" /> |
294 | 296 |
|
295 | 297 | <test url="http://lenovovision.com/foo" /> |
|
0 commit comments