[HTTPS-E Rulesets] United States Pirate Party

Andrew D'Addesio X-Fi6 at phppoll.org
Thu Jun 13 22:19:32 PDT 2013


The US Pirate Party website has just registered an HTTPS certificate today. Except for phpBB (since we're not sure if we want to redirect all http->https with Apache yet, and phpBB either requires either all cookies to be secure or none), all the cookies that it sets when you log in through HTTPS are assigned for encrypted connections only. The only subdomain on the site is "www." which automatically gets redirected out.

A patch to PirateParty.xml is included.

-------------- next part --------------
*** PirateParty.xml	Fri Jun 14 00:07:58 2013
--- PirateParty2.xml	Fri Jun 14 00:11:15 2013
***************
*** 20,25 ****
--- 20,26 ----
  
  		- (www.)pirati.cz
  		- forum.pirati.cz
+ 		- (www.)uspirates.org
  
  
  	Targets solely for wildcard cookies:
***************
*** 53,58 ****
--- 54,61 ----
  	<target host="pirati.cz" />
  	<target host="*.pirati.cz" />
  	<target host="*.forum.pirati.cz" />
+ 	<target host="uspirates.org" />
+ 	<target host="*.uspirates.org" />
  	<target host="remixdepolitiek.nl" />
  	<target host="www.remixdepolitiek.nl" />
  
***************
*** 65,70 ****
--- 68,74 ----
  	<securecookie host="^(.*\.)?pirateparty\.org\.uk$" name="^(phpbb|wiki).*$" />
  	<securecookie host="^(?:edinburgh|glasgow|manchester)\.pirateparty\.org\.uk$" name=".*" />
  	<securecookie host="^.+\.pirati\.cz$" name=".+" />
+ 	<securecookie host="^.+\.uspirates\.org$" name=".+" />
  
  
  	<!--	encountered:
***************
*** 130,133 ****
--- 134,140 ----
  	<rule from="^http://(forum\.|www\.)?pirati\.cz/"
  		to="https://$1pirati.cz/" />
  
+ 	<rule from="^http://(?:www\.)?uspirates.org/"
+ 		to="https://uspirates.org/" />
+ 
  </ruleset>


More information about the HTTPS-Everywhere-Rules mailing list