[or-cvs] [https-everywhere/master 280/291] escape ., trailing slashes are mandatory, add warning that these rules prevent users from reading other users' journals (!)

schoen at torproject.org schoen at torproject.org
Sat Oct 30 00:32:44 UTC 2010


Author: Seth Schoen <schoen at eff.org>
Date: Thu, 28 Oct 2010 11:30:10 -0700
Subject: escape ., trailing slashes are mandatory, add warning that these rules prevent
Commit: 024d803f2a03a396d130a0675f48a09095ef49b2

---
 src/chrome/content/rules/Dreamwidth.xml  |    6 +++++-
 src/chrome/content/rules/LiveJournal.xml |    6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/src/chrome/content/rules/Dreamwidth.xml b/src/chrome/content/rules/Dreamwidth.xml
index f0f8d84..2a29cf0 100644
--- a/src/chrome/content/rules/Dreamwidth.xml
+++ b/src/chrome/content/rules/Dreamwidth.xml
@@ -1,3 +1,7 @@
+<!-- NOTE: In its current form and with the current site configuration,
+this rule protects login passwords but prevents the user from reading
+other users' journals! -->
+
 <ruleset name="Dreamwidth">
-  <rule from="^http://(?:www.)?dreamwidth\.org(/?)" to="https://www.dreamwidth.org$1"/>
+  <rule from="^http://(?:www\.)?dreamwidth\.org/" to="https://www.dreamwidth.org/"/>
 </ruleset>
diff --git a/src/chrome/content/rules/LiveJournal.xml b/src/chrome/content/rules/LiveJournal.xml
index 0fd1511..8dc8948 100644
--- a/src/chrome/content/rules/LiveJournal.xml
+++ b/src/chrome/content/rules/LiveJournal.xml
@@ -1,3 +1,7 @@
+<!-- NOTE: In its current form and with the current site configuration,
+this rule protects login passwords but prevents the user from reading
+other users' journals! -->
+
 <ruleset name="LiveJournal">
-  <rule from="^http://(?:www.)?livejournal\.com(/?)" to="https://www.livejournal.com$1"/>
+  <rule from="^http://(?:www\.)?livejournal\.com/" to="https://www.livejournal.com/"/>
 </ruleset>
-- 
1.7.1




More information about the tor-commits mailing list