Difference between revisions of "User:Eighty5cacao/misc/HTTPS Everywhere/rulewip/New rulesets (default off)"

From Pin Eight
Jump to: navigation, search
(blanking possibly obsolete stuff (explanation to come later))
(commenting tweaks, remove (www.) as it will be fully covered in the main ruleset (NB: <test> is an element that is read by build/validation scripts, which fetch the original and rewritten URLs, but not the browser addon))
Line 5: Line 5:
 
For rules that are on by default, see Pin_Eight.xml.
 
For rules that are on by default, see Pin_Eight.xml.
  
Cookies are handled there.
 
  
 
+
Cert/hosting configuration are not correct for pics;
Nonfunctional subdomains:
+
the files currently also exist in a subfolder of (www.), but
 
+
the webmaster may change this later, hence the webmaster request.
- pics (mismatch, shows WebFaction error page)
+
 
+
The current workaround may not be correct forever:
+
https://pineight.com/mw/index.php?title=User_talk:Tepples&oldid=9920#HTTPS_on_this_site:_further_follow-up
+
This is the main reason for the webmaster request.
+
  
  
Line 20: Line 14:
  
 
- Scripts on some (www.) pages outside mw/, from pagead2.googlesyndication.com *
 
- Scripts on some (www.) pages outside mw/, from pagead2.googlesyndication.com *
 +
- Images on some (www.) pages outside mw/ from $self *
  
 
* Secured by us
 
* Secured by us
  
No first-party mixed scripts nor stylesheets, but there may be mixed images on some (non-wiki) pages.
+
-->
 +
<ruleset name="Pin Eight.com (experimental)" default_off="webmaster request">
 +
<target host="pics.pineight.com" />
  
-->
 
<ruleset name="Pin Eight (experimental)" default_off="webmaster request">
 
    <target host="pineight.com" />
 
    <target host="www.pineight.com" />
 
        <!--
 
            Handled in Pin_Eight.xml:
 
        <exclusion pattern="^http://(?:www\.)?pineight\.com/(?:mw/|.+\.(?!htm)|(?:index)?(?:\?|$))" /-->
 
    <target host="pics.pineight.com" />
 
  
 +
<!--
 +
Uncomment these if committing to an official Git repository
 +
 +
(Are default_off rulesets currently tested at all?)
 +
-->
 +
<!--test url="http://pics.pineight.com/dwi/BF/readme2.txt" /-->
 +
<!--test url="http://pics.pineight.com/dwi/BF/backstory.txt" /-->
 +
<!--test url="http://pics.pineight.com/nes/8x8s.png" /-->
 +
<!--test url="http://pics.pineight.com/dwi/secret_bear.jpg" /-->
  
    <rule from="^http://(www\.)?pineight\.com/"
 
            to="https://$1pineight.com/" />
 
  
    <rule from="^http://pics\.pineight\.com/"
+
<rule from="^http://pics\.pineight\.com/"
            to="https://pineight.com/pics/" />
+
to="https://pineight.com/pics/" />
  
 
</ruleset>
 
</ruleset>

Revision as of 04:28, 19 March 2015

Pin Eight-experimental

<!--
	For rules that are on by default, see Pin_Eight.xml.
 
 
	Cert/hosting configuration are not correct for pics;
	the files currently also exist in a subfolder of (www.), but
	the webmaster may change this later, hence the webmaster request.
 
 
	Mixed content:
 
		- Scripts on some (www.) pages outside mw/, from pagead2.googlesyndication.com *
		- Images on some (www.) pages outside mw/ from $self *
 
	* Secured by us
 
-->
<ruleset name="Pin Eight.com (experimental)" default_off="webmaster request">
	<target host="pics.pineight.com" />
 
 
	<!--
		Uncomment these if committing to an official Git repository
 
		(Are default_off rulesets currently tested at all?)
	-->
	<!--test url="http://pics.pineight.com/dwi/BF/readme2.txt" /-->
	<!--test url="http://pics.pineight.com/dwi/BF/backstory.txt" /-->
	<!--test url="http://pics.pineight.com/nes/8x8s.png" /-->
	<!--test url="http://pics.pineight.com/dwi/secret_bear.jpg" /-->
 
 
	<rule from="^http://pics\.pineight\.com/"
		to="https://pineight.com/pics/" />
 
</ruleset>

ShareThis-problematic

This ruleset is displayed here mainly to demonstrate a potential use case for a feature request. It has not been maintained for a little over a year. --Eighty5cacao (talk) 21:06, 20 December 2014 (UTC)

<!--
	For rules that are on by default, see ShareThis.xml.
 
-->
<ruleset name="ShareThis (problematic)" default_off="expired">
	<target host="s.sharethis.com" />
	<target host="sd.sharethis.com" />
 
	<!--
		- sd: load balancers
			- 174.129.3.2
			- 174.129.3.30
			- 184.72.47.139	(expired 9-29-2011; all others valid)
			- 184.72.47.142
			- 184.73.155.15
			- 204.236.131.61
		- s: Akamai
		- s and sd appear equivalent, at least for loader.js
			Note that the script loads all resources from sd anyway.
		- support links protocol-relatively to s
	-->
	<rule from="^https?://sd?\.sharethis\.com/"
	        to="https://sd.sharethis.com/" />
 
</ruleset>