|
1 | | -<ruleset name="Imgur (partial, broken)" default_off="breaks albums"> |
| 1 | +<!-- |
2 | 2 |
|
3 | | - <target host="imgur.com"/> |
4 | | - <target host="*.imgur.com"/> |
5 | | - <exclusion pattern="^http://api\.imgur\.com/"/> |
6 | | - <!-- |
7 | | - 302 to http. |
8 | | -
|
9 | | - https://mail1.eff.org/pipermail/https-everywhere-rules/2012-July/001255.html |
10 | | - --> |
11 | | - <exclusion pattern="^http://(www\.)?imgur\.com/($|\w/\w+\??$)" /> |
12 | | - <exclusion pattern="^http://(www\.)?imgur\.com/[a-zA-Z\d]+\.[a-z]+$"/> |
13 | | - <!-- |
| 3 | + Imgur now has full HTTPS support on all subdomains. |
| 4 | + Previously, there were issues as discussed : |
14 | 5 | https://mail1.eff.org/pipermail/https-everywhere-rules/2013-July/001645.html |
15 | | -
|
16 | 6 | https://bugzilla.mozilla.org/show_bug.cgi?id=866986#c7 |
17 | | - --> |
18 | | - <exclusion pattern="^http://(?:www\.)?imgur\.com/(?!(?:images|include|min|register|signin)(?:/|\?|$))" /> |
19 | 7 |
|
20 | | - <rule from="^http://(?:origin\.|s\.|www\.)?imgur\.com/" |
21 | | - to="https://imgur.com/"/> |
| 8 | + Ruleset simplified and fixed by bryn@imgur.com, January 2014. |
22 | 9 |
|
23 | | - <!-- This rule breaks the Imgur Uploader Firefox extension |
24 | | - <rule from="^http://api\.imgur\.com/" |
25 | | - to="https://api.imgur.com/"/--> |
| 10 | +--> |
| 11 | +<ruleset name="Imgur"> |
26 | 12 |
|
27 | | - <!-- i.imgur.com doesn't match the certificate, |
28 | | - but *some* urls can be converted to imgur.com --> |
29 | | - <rule from="^http://i\.imgur\.com/((images|include)(/.*)?)?$" |
30 | | - to="https://imgur.com/$1"/> |
| 13 | + <target host="imgur.com" /> |
| 14 | + <target host="*.imgur.com" /> |
| 15 | + |
| 16 | + <rule from="^http://imgur\.com/" |
| 17 | + to="https://imgur.com/"/> |
31 | 18 |
|
32 | | - <securecookie host="^\.?imgur\.com" name=".*" /> |
| 19 | + <rule from="^http://(\w\.)?imgur\.com/" |
| 20 | + to="https://$1imgur.com/"/> |
33 | 21 |
|
34 | 22 | </ruleset> |
0 commit comments