[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] [https-everywhere/master 2/2] securecookie: Dropbox, Evernote, Github



Author: Peter Eckersley <pde@xxxxxxx>
Date: Fri, 12 Nov 2010 10:24:51 -0800
Subject: securecookie: Dropbox, Evernote, Github
Commit: 4d87e583e18b42373343e6b19820710fd1a4a088

---
 src/chrome/content/rules/Dropbox.xml  |    2 ++
 src/chrome/content/rules/Evernote.xml |    2 ++
 src/chrome/content/rules/Facebook.xml |    2 +-
 src/chrome/content/rules/Github.xml   |    2 ++
 4 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/src/chrome/content/rules/Dropbox.xml b/src/chrome/content/rules/Dropbox.xml
index 7df8033..712ad26 100644
--- a/src/chrome/content/rules/Dropbox.xml
+++ b/src/chrome/content/rules/Dropbox.xml
@@ -2,6 +2,8 @@
   <target host="www.dropbox.com" />
   <target host="dropbox.com" />
 
+  <securecookie host="^(.*\.)?dropbox.com$" name=".*" />
+
   <rule from="^http://(www\.)?dropbox\.com/" to="https://www.dropbox.com/"/>
   <!-- This breaks blog.dropbox.com and forums.dropbox.com, for example
   <rule from="^http://([^/:@]+)\.dropbox\.com/" to="https://$1.dropbox.com/"/>
diff --git a/src/chrome/content/rules/Evernote.xml b/src/chrome/content/rules/Evernote.xml
index 8ef702a..8ff0370 100644
--- a/src/chrome/content/rules/Evernote.xml
+++ b/src/chrome/content/rules/Evernote.xml
@@ -2,5 +2,7 @@
   <target host="www.evernote.com" />
   <target host="evernote.com" />
 
+  <securecookie host="^(.*\.)?evernote.com$" name=".*" />
+
   <rule from="^http://(www\.)?evernote\.com/" to="https://www.evernote.com/"/>
 </ruleset>
diff --git a/src/chrome/content/rules/Facebook.xml b/src/chrome/content/rules/Facebook.xml
index 5ef3e73..5d06d02 100644
--- a/src/chrome/content/rules/Facebook.xml
+++ b/src/chrome/content/rules/Facebook.xml
@@ -19,7 +19,7 @@
   <rule from="^http://www\.v6\.facebook\.com/"; 
           to="https://www.v6.facebook.com/"/>
 
-  <rule from="^http://s-static.ak.facebook.com/"; 
+  <rule from="^http://s-static\.ak\.facebook\.com/"; 
           to="https://s-static.ak.facebook.com/"; />
 
   <rule from="^https?://(de-de|www\.)?facebook\.de/" 
diff --git a/src/chrome/content/rules/Github.xml b/src/chrome/content/rules/Github.xml
index c11beb1..a6cc650 100644
--- a/src/chrome/content/rules/Github.xml
+++ b/src/chrome/content/rules/Github.xml
@@ -2,6 +2,8 @@
   <target host="*.github.com" />
   <target host="github.com" />
 
+  <securecookie host="^(.*\.)?github.com$" name=".*" />
+
   <rule from="^http://(www\.)?github\.com/" to="https://github.com/"/>
   <rule from="^http://(assets\d+|gist)\.github\.com/" to="https://$1.github.com/"/>
 </ruleset>
-- 
1.7.1