|
1 | | -<ruleset name="Lenovo"> |
2 | | - <target host="lenovo.com" /> |
3 | | - <target host="www.lenovo.com" /> |
4 | | - <target host="shop.lenovo.com" /> |
5 | | - <target host="lenovo.co.uk" /> |
6 | | - <target host="www.lenovo.co.uk" /> |
7 | | - |
8 | | - <securecookie host="^(.+\.)?lenovo\.com$" name=".*"/> |
9 | | - <exclusion pattern="^http://lenovo\.com/friendsandfamily$"/> |
10 | | - <exclusion pattern="^http://(www\.)?lenovo\.com/depotstatus"/> |
11 | | - <!-- https://mail1.eff.org/pipermail/https-everywhere-rules/2012-April/001098.html --> |
12 | | - <exclusion pattern="^http://www\.lenovo\.com/(support|training)/"/> |
13 | | - <exclusion pattern="^http://shop\.lenovo\.com/us(/.*)?$"/> |
14 | | - <exclusion pattern="^http://lenovo\.com/friendsandfamily$"/> |
15 | | - <exclusion pattern="^http://shop\.lenovo\.com/us(/.*)?$"/> |
16 | | - <exclusion pattern="^http://(www\.)?lenovo\.com/depotstatus"/> |
17 | | - |
18 | | - <rule from="^http://(?:www\.)?lenovo\.com/epp$" to="https://www.lenovo.com/epp/"/> |
19 | | - |
20 | | - <rule from="^http://lenovo\.com/" to="https://www.lenovo.com/"/> |
21 | | - <rule from="^http://(www|shop)\.lenovo\.com/" to="https://$1.lenovo.com/"/> |
22 | | - |
23 | | - <rule from="^http://(?:www\.)?lenovo\.co\.uk/?$" to="https://www.lenovo.com/uk/en/"/> |
| 1 | +<!-- !functional: |
| 2 | + - training.lenovo.partner-management.com |
| 3 | +--> |
| 4 | +<ruleset name="Lenovo (partial)"> |
| 5 | + |
| 6 | + <target host="lenovo.com"/> |
| 7 | + <exclusion pattern="^http://lenovo\.com/friendsandfamily$"/> |
| 8 | + <target host="blog.lenovo.com"/> |
| 9 | + <target host="consumersupport.lenovo.com"/> |
| 10 | + <target host="news.lenovo.com"/> |
| 11 | + <target host="outlet.lenovo.com"/> |
| 12 | + <target host="shop.lenovo.com"/> |
| 13 | + <exclusion pattern="^http://shop\.lenovo\.com/us(/.*)?$"/> |
| 14 | + <target host="social.lenovo.com"/> |
| 15 | + <target host="support.lenovo.com"/> |
| 16 | + <target host="www.lenovo.com"/> |
| 17 | + <exclusion pattern="^http://(www\.)?lenovo\.com/depotstatus"/> |
| 18 | + <!-- https://mail1.eff.org/pipermail/https-everywhere-rules/2012-April/001098.html --> |
| 19 | + <exclusion pattern="^http://www\.lenovo\.com/(support|training)/"/> |
| 20 | + <target host="lenovo.co.uk"/> |
| 21 | + <target host="www.lenovo.co.uk"/> |
| 22 | + <target host="lenovoorders.com"/> |
| 23 | + <target host="www.lenovoorders.com"/> |
| 24 | + <target host="www.lenovovision.com" /> |
| 25 | + <target host="thinkpad.com" /> |
| 26 | + <target host="www.thinkpad.com" /> |
| 27 | + |
| 28 | + |
| 29 | + <securecookie host="^(.+\.)?lenovo\.com$" name=".*"/> |
| 30 | + |
| 31 | + |
| 32 | + <rule from="^http://lenovo\.com/" |
| 33 | + to="https://www.lenovo.com/"/> |
| 34 | + |
| 35 | + <rule from="^https?://www\.lenovo\.com/epp$" |
| 36 | + to="https://www.lenovo.com/epp/"/> |
| 37 | + |
| 38 | + <rule from="^http://(outlet|shop|www)\.lenovo\.com/" |
| 39 | + to="https://$1.lenovo.com/"/> |
| 40 | + |
| 41 | + <rule from="^http://(?:www\.)?lenovo\.co\.uk/?$" |
| 42 | + to="https://www.lenovo.com/uk/en/"/> |
| 43 | + |
| 44 | + <rule from="^http://(www\.)?lenovoorders\.com/" |
| 45 | + to="https://$1lenovoorders.com/"/> |
| 46 | + |
| 47 | + <!-- https://mail1.eff.org/pipermail/https-everywhere-rules/2012-April/001098.html |
| 48 | +
|
| 49 | + support redirects to support.lenovo.com |
| 50 | + training redirects to training.lenovo.partner-management.com |
| 51 | + --> |
| 52 | + <rule from="^https://www\.lenovo\.com/(support|training)/" |
| 53 | + to="http://www.lenovo.com/$1/" downgrade="1" /> |
| 54 | + |
| 55 | + <!-- self-signed |
| 56 | + social just redirects to blog |
| 57 | + haven't seen blog nor support links, but just in case. |
| 58 | + --> |
| 59 | + <rule from="^https://(blog|(consumer)?support|news|social)\.lenovo\.com/" |
| 60 | + to="http://$1.lenovo.com/" downgrade="1" /> |
| 61 | + |
24 | 62 | <!-- shop.lenovo points here. |
25 | 63 |
|
26 | 64 | https://mail1.eff.org/pipermail/https-everywhere-rules/2012-June/001189.html |
27 | 65 | --> |
28 | 66 | <rule from="^https://www\.lenovovision\.com/" |
29 | 67 | to="http://www.lenovovision.com/" downgrade="1" /> |
30 | 68 |
|
| 69 | + <!-- thinkpad.com redirects to www.lenovo.com/link/redirect.www.lenovo.com/www.thinkpad.com/, |
| 70 | + which 404s over https but redirects like so over http. |
| 71 | +
|
| 72 | + https://trac.torproject.org/projects/tor/ticket/6604 |
| 73 | + --> |
| 74 | + <rule from="^https?://(?:(?:www\.)?lenovo\.com/link/redirect\.www\.lenovo\.com/)?(?:www\.)?thinkpad\.com/" |
| 75 | + to="https://www.lenovo.com/us/en/?cid=SEO-thinkpadcom" /> |
| 76 | + |
31 | 77 | </ruleset> |
0 commit comments