[or-cvs] [https-everywhere/master 3/5] Be completely pedantic about cookie domains
pde at torproject.org
pde at torproject.org
Thu Nov 11 20:41:11 UTC 2010
Author: Peter Eckersley <pde at eff.org>
Date: Thu, 11 Nov 2010 09:52:09 -0800
Subject: Be completely pedantic about cookie domains
Commit: e25d1ecd2a0d887009430284f77650f87eec6d74
---
src/chrome/content/rules/Bitly.xml | 2 +-
src/chrome/content/rules/Facebook.xml | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/chrome/content/rules/Bitly.xml b/src/chrome/content/rules/Bitly.xml
index 8ec0072..4276e31 100644
--- a/src/chrome/content/rules/Bitly.xml
+++ b/src/chrome/content/rules/Bitly.xml
@@ -6,7 +6,7 @@
<target host="j.mp" />
<target host="www.j.mp" />
- <securecookie host="*.\.bit\.ly$" name=".*">
+ <securecookie host="^(.*\.)?bit\.ly$" name=".*">
<rule from="^http://(?:www\.)?bit\.ly/" to="https://bit.ly/"/>
<rule from="^http://(?:www\.)?bit\.ly\.pro/" to="https://bit.ly/pro/"/>
<!--
diff --git a/src/chrome/content/rules/Facebook.xml b/src/chrome/content/rules/Facebook.xml
index fd824c9..0ad0090 100644
--- a/src/chrome/content/rules/Facebook.xml
+++ b/src/chrome/content/rules/Facebook.xml
@@ -6,10 +6,10 @@
<target host="www.facebook.de" />
<target host="facebook.de" />
- <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" />
+ <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/"/>
--
1.7.1
More information about the tor-commits
mailing list