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

[or-cvs] [https-everywhere/master 279/291] leading 'www.' is optional, but always redirects to 'https://www'



Author: Steve Huff <shuff@xxxxxxxxx>
Date: Thu, 28 Oct 2010 08:25:35 -0400
Subject: leading 'www.' is optional, but always redirects to 'https://www'
Commit: d34b2104db7086e129ce5654a909bb8a082922ea

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

diff --git a/src/chrome/content/rules/Dreamwidth.xml b/src/chrome/content/rules/Dreamwidth.xml
index 026dc93..f0f8d84 100644
--- a/src/chrome/content/rules/Dreamwidth.xml
+++ b/src/chrome/content/rules/Dreamwidth.xml
@@ -1,3 +1,3 @@
 <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$1"/>
 </ruleset>
diff --git a/src/chrome/content/rules/LiveJournal.xml b/src/chrome/content/rules/LiveJournal.xml
index 85ff656..0fd1511 100644
--- a/src/chrome/content/rules/LiveJournal.xml
+++ b/src/chrome/content/rules/LiveJournal.xml
@@ -1,3 +1,3 @@
 <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$1"/>
 </ruleset>
-- 
1.7.1