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

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



Author: Seth Schoen <schoen@xxxxxxx>
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