[HTTPS-E Rulesets] Limiting Gitorious.xml, Adding Blockexplorer.xml

Osama Khalid osamak at gnu.org
Thu Jun 2 08:47:37 PDT 2011


The Gitorious.xml ruleset redirects all subdomains to the HTTPS
version. The attached patch adds two exceptions.

The Blockexplorer.xml ruleset covers the Bitcoin Block Explorer.

--Osama Khalid
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Blockexplorer.xml
Type: text/xml
Size: 226 bytes
Desc: not available
URL: <http://lists.eff.org/pipermail/https-everywhere-rules/attachments/20110602/e4598cb9/attachment.xml>
-------------- next part --------------
diff --git a/src/chrome/content/rules/Gitorious.xml b/src/chrome/content/rules/Gitorious.xml
index 2d9e7a9..499a432 100644
--- a/src/chrome/content/rules/Gitorious.xml
+++ b/src/chrome/content/rules/Gitorious.xml
@@ -1,8 +1,8 @@
 <ruleset name="Gitorious">
-  <exclusion pattern="^http://blog\.gitorious\.org/"/>
+  <exclusion pattern="^http://(blog|en|status)\.gitorious\.org/"/>
 
   <target host="*.gitorious.org" />
   <target host="gitorious.org" />
 
-  <rule from="^http://([^/:@]*)\.gitorious\.org/" to="https://$1.gitorious.org/"/>
+  <rule from="^http://([^/:@]+)\.gitorious\.org/" to="https://$1.gitorious.org/"/>
 </ruleset>
\ No newline at end of file
-------------- 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/20110602/e4598cb9/attachment.sig>


More information about the HTTPS-Everywhere-Rules mailing list