[or-cvs] [https-everywhere/master 5/7] Add a securecookie test/example to Facebook.xml

pde at torproject.org pde at torproject.org
Thu Nov 11 00:28:02 UTC 2010


Author: Peter Eckersley <pde at eff.org>
Date: Tue, 9 Nov 2010 12:19:28 -0800
Subject: Add a securecookie test/example to Facebook.xml
Commit: 43b153644faaab731f60226a8d4a70be4fd1eac0

---
 src/chrome/content/rules/Facebook.xml |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/chrome/content/rules/Facebook.xml b/src/chrome/content/rules/Facebook.xml
index eee23f1..3a9f053 100644
--- a/src/chrome/content/rules/Facebook.xml
+++ b/src/chrome/content/rules/Facebook.xml
@@ -1,10 +1,16 @@
 <ruleset name="Facebook">
-  <target host="www.facebook.com" />
   <target host="facebook.com" />
-  <target host="m.facebook.com" />
+  <target host="*.facebook.com" />
   <target host="www.v6.facebook.com" />
 
+  <securecookie host=".*\.facebook.com" name="c_user" />
+  <securecookie host=".*\.facebook.com" name="lu" />
+  <securecookie host=".*\.facebook.com" name="sct" />
+  <securecookie host=".*\.facebook.com" name="xs" />
+
   <rule from="^http://(www\.)?facebook\.com/" to="https://www.facebook.com/"/>
   <rule from="^http://m\.facebook\.com/" to="https://m.facebook.com/"/>
+  <rule from="^http://ssl\.facebook\.com/" to="https://ssl.facebook.com/"/>
+  <rule from="^http://login\.facebook\.com/" to="https://login.facebook.com/"/>
   <rule from="^http://www\.v6\.facebook\.com/" to="https://www.v6.facebook.com/"/>
 </ruleset>
-- 
1.7.1




More information about the tor-commits mailing list