Skip to content

Commit 01ebccd

Browse files
committed
Improvements to the Facebook rule
- include s-static.ak.facebookcom - add a match_rule
1 parent 039c616 commit 01ebccd

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed
Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
<ruleset name="Facebook">
1+
<ruleset name="Facebook" match_rule="http:.*facebook\.">
22
<target host="facebook.com" />
33
<target host="*.facebook.com" />
4+
<target host="*.ak.facebook.com" />
45
<target host="www.v6.facebook.com" />
56
<target host="de-de.facebook.de" />
67
<target host="www.facebook.de" />
@@ -12,11 +13,17 @@
1213
<securecookie host="^(.*\.)?facebook\.com$" name="xs" />
1314

1415
<rule from="^http://(www\.)?facebook\.com/" to="https://www.facebook.com/"/>
15-
<rule from="^http://m\.facebook\.com/" to="https://m.facebook.com/"/>
16-
<rule from="^http://ssl\.facebook\.com/" to="https://ssl.facebook.com/"/>
17-
<rule from="^http://login\.facebook\.com/" to="https://login.facebook.com/"/>
18-
<rule from="^http://www\.v6\.facebook\.com/" to="https://www.v6.facebook.com/"/>
16+
<rule from="^http://m\.facebook\.com/" to="https://m.facebook.com/"/>
17+
<rule from="^http://ssl\.facebook\.com/" to="https://ssl.facebook.com/"/>
18+
<rule from="^http://login\.facebook\.com/" to="https://login.facebook.com/"/>
19+
<rule from="^http://www\.v6\.facebook\.com/"
20+
to="https://www.v6.facebook.com/"/>
1921

20-
<rule from="^https?://(de-de|www\.)?facebook\.de/" to="https://www.facebook.com/"/>
21-
<rule from="^https?://de-de\.facebook\.com/" to="https://www.facebook.com/"/>
22+
<rule from="^http://s-static.ak.facebook.com/"
23+
to="https://s-static.ak.facebook.com/" />
24+
25+
<rule from="^https?://(de-de|www\.)?facebook\.de/"
26+
to="https://www.facebook.com/"/>
27+
<rule from="^https?://de-de\.facebook\.com/"
28+
to="https://www.facebook.com/"/>
2229
</ruleset>

0 commit comments

Comments
 (0)