[HTTPS-E Rulesets] s.wordpress.org

Osama Khalid osamak at gnu.org
Sat Jun 11 12:05:25 PDT 2011


http://s.wordpress.org redirects to https://secure.wordpress.org which
doesn't have the same style and images directories but
https://wordpress.org does.

This patch fixes this.

--Osama Khalid
-------------- next part --------------
diff --git a/src/chrome/content/rules/WordPress.xml b/src/chrome/content/rules/WordPress.xml
index 691eca2..b853de2 100644
--- a/src/chrome/content/rules/WordPress.xml
+++ b/src/chrome/content/rules/WordPress.xml
@@ -17,7 +17,9 @@
 
   <rule from="^http://wordpress\.(com|org)/"
           to="https://wordpress.$1/"/>
-  <rule from="^http://(s[0-9]?)\.wordpress\.(com|org)/"
+  <rule from="^http://s\.wordpress\.org/"
+	  to="https://wordpress.org/"/>
+  <rule from="^http://(s[0-9])\.wordpress\.(com|org)/"
 	  to="https://secure.wordpress.$2/"/>
   <rule from="^http://([^/:@]+)\.wordpress\.(com|org)/"
 	  to="https://$1.wordpress.$2/"/>
-------------- 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/20110611/5dcf3711/attachment.sig>


More information about the HTTPS-Everywhere-Rules mailing list