[HTTPS-E Rulesets] s.wordpress.org
Osama Khalid
osamak at gnu.org
Mon Jun 13 00:49:26 PDT 2011
On Sat, Jun 11, 2011 at 10:05:25PM +0300, Osama Khalid wrote:
> 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.
Since this patch has not been committed yet, here is a new one that
covers s*.wp.com, s.wordpress.com and s.wordpress.org.
And yes I'll have my git soon! :)
--Osama Khalid
-------------- next part --------------
diff --git a/src/chrome/content/rules/WordPress.xml b/src/chrome/content/rules/WordPress.xml
index 691eca2..2ac8bac 100644
--- a/src/chrome/content/rules/WordPress.xml
+++ b/src/chrome/content/rules/WordPress.xml
@@ -2,13 +2,11 @@
<target host="wordpress.com" />
<target host="*.wordpress.com" />
<target host="wordpress.org" />
- <target host="www.wordpress.org" />
<target host="*.wordpress.org" />
<target host="*.trac.wordpress.org" />
<target host="*.svn.wordpress.org" />
<target host="*.files.wordpress.com" />
- <target host="s0.wp.com" />
- <target host="s1.wp.com" />
+ <target host="*.wp.com" />
<exclusion pattern="^http://([^/:@]*)\.blog\.wordpress\.com/"/>
<exclusion pattern="^http://([^/:@]*)\.blog\.files\.wordpress\.com/"/>
@@ -17,14 +15,16 @@
<rule from="^http://wordpress\.(com|org)/"
to="https://wordpress.$1/"/>
- <rule from="^http://(s[0-9]?)\.wordpress\.(com|org)/"
- to="https://secure.wordpress.$2/"/>
+ <rule from="^http://s\.wordpress\.(com|org)/"
+ to="https://wordpress.$1/"/>
+ <rule from="^http://s[0-9]\.wordpress\.(com|org)/"
+ to="https://secure.wordpress.$1/"/>
<rule from="^http://([^/:@]+)\.wordpress\.(com|org)/"
to="https://$1.wordpress.$2/"/>
<rule from="^http://([^/:@]+)\.(trac|svn)\.wordpress\.org/"
to="https://$1.$2.wordpress.org/"/>
<rule from="^http://([^/:@]+)\.files\.wordpress\.com/"
to="https://$1.files.wordpress.com/"/>
- <rule from="^http://(s0|s1)\.wp\.com/(i|wp-content|wp-includes)/"
- to="https://s-ssl.wordpress.com/$2/" />
+ <rule from="^http://s\d*\.wp\.com/(\?custom-css|i/|wp-content/|wp-includes/)"
+ to="https://s-ssl.wordpress.com/$1" />
</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/20110613/54877ae4/attachment.sig>
More information about the HTTPS-Everywhere-Rules
mailing list