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

[or-cvs] [https-everywhere/master 5/5] Twitter: secure cookies, secure api.twitter.com



Author: Peter Eckersley <pde@xxxxxxx>
Date: Thu, 11 Nov 2010 12:24:09 -0800
Subject: Twitter: secure cookies, secure api.twitter.com
Commit: 2f53796f3903959f13fa4f41c53c54fafd37a8a7

---
 src/chrome/content/rules/Twitter.xml |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/chrome/content/rules/Twitter.xml b/src/chrome/content/rules/Twitter.xml
index 7d0cc7c..ec7129a 100644
--- a/src/chrome/content/rules/Twitter.xml
+++ b/src/chrome/content/rules/Twitter.xml
@@ -16,7 +16,9 @@
   <target host="twitter.com" />
   <target host="*.twimg.com" />
 
+  <securecookie host="^(.*\.).twitter.com" name=".*" />
+  
   <rule from="^http://(www\.)?twitter\.com/" to="https://twitter.com/"/>
-  <rule from="^http://(search|static)\.twitter\.com/" to="https://$1.twitter.com/"/>
+  <rule from="^http://(search|static|api)\.twitter\.com/" to="https://$1.twitter.com/"/>
   <rule from="^http://[a-z0-9].?\.twimg\.com/"; to="https://s3.amazonaws.com/twitter_production/"/>
 </ruleset>
-- 
1.7.1