[HTTPS-E Rulesets] Fixing Linux.com.xml
Osama Khalid
osamak at gnu.org
Wed Apr 13 13:07:23 PDT 2011
The current version of Linux.com.xml matches all linux.com subdomains
although only store.linux.com supports HTTPS.
I attached a patch to fix this.
--Osama Khalid
-------------- next part --------------
diff --git a/src/chrome/content/rules/Linux.com.xml b/src/chrome/content/rules/Linux.com.xml
index 44c08c3..b1e0da8 100644
--- a/src/chrome/content/rules/Linux.com.xml
+++ b/src/chrome/content/rules/Linux.com.xml
@@ -1,8 +1,8 @@
<ruleset name="Linux.com">
<target host="linux.com" />
- <target host="*.linux.com" />
+ <target host="store.linux.com" />
+ <target host="www.linux.com" />
- <rule from="^http://linux\.com/" to="https://www.linux.com/"/>
- <rule from="^http://([^/:@]*)\.linux\.com/" to="https://$1.linux.com/"/>
+ <rule from="^http://(www\.)?linux\.com/" to="https://www.linux.com/"/>
+ <rule from="^http://store\.linux\.com/" to="https://store.linux.com/"/>
</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/20110413/66cd33eb/attachment.sig>
More information about the HTTPS-Everywhere-Rules
mailing list