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

[or-cvs] [https-everywhere/master 004/291] user contributions to improve coverage for Mozilla rule



Author: Seth Schoen <schoen@xxxxxxx>
Date: Fri, 8 Oct 2010 16:33:18 -0700
Subject: user contributions to improve coverage for Mozilla rule
Commit: 95fcb83902dee341f0bef684424bf7640c8e0639

---
 src/chrome/content/rules/Mozilla.xml |   16 ++++++++++------
 1 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/src/chrome/content/rules/Mozilla.xml b/src/chrome/content/rules/Mozilla.xml
index 0834be6..416c057 100644
--- a/src/chrome/content/rules/Mozilla.xml
+++ b/src/chrome/content/rules/Mozilla.xml
@@ -1,11 +1,15 @@
 <!-- BOOOO: Firefox.com (which some download links pass through) is in
      HTTP only... -->
 
-
 <ruleset name="Mozilla">
-  <rule from="^http://mozilla\.org"; to="https://www.mozilla.org"/>
-  <rule from="^http://mozilla\.com"; to="https://www.mozilla.com"/>
-  <rule from="^http://www\.mozilla\.org"; to="https://www.mozilla.org"/>
-  <rule from="^http://www\.mozilla\.com"; to="https://www.mozilla.com"/>
-  <rule from="^http://addons\.mozilla\.org"; to="https://addons.mozilla.org"/>
+  <rule from="^http://mozilla\.org/"; to="https://www.mozilla.org/"/>
+  <rule from="^http://(addons|education|ftp|hacks|hg|labs|mxr|planet|quality|www)\.mozilla\.org/" to="https://$1.mozilla.org/"/>
+
+  <rule from="^http://mozilla\.com/"; to="https://www.mozilla.com/"/>
+  <rule from="^http://(people|www)\.mozilla\.com/" to="https://$1.mozilla.com/"/>
+
+  <rule from="^http://(www\.)?mozillalabs\.com/" to="https://mozillalabs.com/"/>
+
+  <rule from="^http://mozillamessaging\.com/"; to="https://mozillamessaging.com/"/>
+  <rule from="^http://(planet|www)\.mozillamessaging\.com/" to="https://$1.mozillamessaging.com/"/>
 </ruleset>
-- 
1.7.1