[HTTPS-E Rulesets] [PATCH 6/7] [Gandi] Add rules for subdomains

Matthias-Christian Ott ott at mirix.org
Fri Aug 2 03:22:11 PDT 2013


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

diff --git a/src/chrome/content/rules/Gandi.xml b/src/chrome/content/rules/Gandi.xml
index e58905a..8b9b9a0 100644
--- a/src/chrome/content/rules/Gandi.xml
+++ b/src/chrome/content/rules/Gandi.xml
@@ -3,6 +3,9 @@
   <target host="*.gandi.net" />
 
   <rule from="^http://(?:www\.)?gandi\.net/" to="https://www.gandi.net/"/>
+  <rule from="^http://(en|es)\.gandi\.net/([^?#]*)(?:\?([^#]+))?(#.*)?$" to="https://www.gandi.net/$2?lang=$1&#x26;$3$4" />
+  <rule from="^http://uk\.gandi\.net/([^?#]*)(?:\?([^#]+))?(#.*)?$" to="https://www.gandi.net/$1?lang=en&#x26;$2$3" />
+  <rule from="^http://(blog|cal|wiki)\.gandi\.net/" to="https://$1.gandi.net/"/>
 
-  <securecookie host="^(www)?\.gandi\.net$" name=".*" />
+  <securecookie host="^(?:(?:blog|cal|en|es|uk|wiki|www)\.)?gandi\.net$" name=".*" />
 </ruleset>
-- 
1.7.3.4





More information about the HTTPS-Everywhere-Rules mailing list