[HTTPS-E Rulesets] Many gnu.org subdomains are broken

Osama Khalid osamak at gnu.org
Sat May 14 11:52:18 PDT 2011


Currently, FSF.xml covers all gnu.org subdomains, an approach that we
should generally avoid. This breaks gnuzilla.gnu.org, planet.gnu.org,
ftp.gnu.org, gcc.gnu.org, etc.

The attached patch fixes this.

--Osama Khalid
-------------- next part --------------
diff --git a/src/chrome/content/rules/FSF.xml b/src/chrome/content/rules/FSF.xml
index db97c42..be6eab9 100644
--- a/src/chrome/content/rules/FSF.xml
+++ b/src/chrome/content/rules/FSF.xml
@@ -7,6 +7,6 @@
 
 	<rule from="^http://(www\.)?fsf\.org/" to="https://www.fsf.org/"/>
 	<rule from="^http://static\.fsf\.org/" to="https://static.fsf.org/"/>
-        <rule from="^http://gnu\.org/" to="https://www.gnu.org/"/>
-        <rule from="^http://([^/:@]*)\.gnu\.org/" to="https://$1.gnu.org/"/>
+        <rule from="^http://(www\.)?gnu\.org/" to="https://www.gnu.org/"/>
+        <rule from="^http://(lists|savannah)\.gnu\.org/" to="https://$1.gnu.org/"/>
 </ruleset>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.eff.org/pipermail/https-everywhere-rules/attachments/20110514/49105869/attachment.sig>


More information about the HTTPS-Everywhere-Rules mailing list