<ruleset name="StumbleUpon (breaks plugin)" default_off="Breaks the SU extension">

	<target host="stumbleupon.com" />
	<target host="*.stumbleupon.com" />
	<target host="stumble-upon.com" />
	<target host="*.stumble-upon.com" />
	<!--	hosted on CloudFlare, but valid certificate	-->
	<target host="sustatic.com" />
	<target host="*.sustatic.com" />
	<!--	* for cross-domain cookie.	-->
	<target host="*.b9.stumbleupon.com" />


	<securecookie host="^.*\.s(tumbleupon|ustatic)\.com$" name=".*" />


	<rule from="^http://(?:badge\.|www\.)?stumbleupon\.com/"
		to="https://www.stumbleupon.com/" />

	<!--	Cert doesn't match.  Server redirects
		as so, dropping the atom.	-->
	<rule from="^http://(?:www\.)?stumble-upon\.com/(?:[\w\W]+)$"
		to="https://www.stumbleupon.com/" />

	<!--	Akamai	-->
	<rule from="^http://cdn\.stumble-upon\.com/"
		to="https://www.stumbleupon.com/" />

	<rule from="^http://(b(?:\d)\.|www\.)?sustatic\.com/"
		to="https://$1sustatic.com/" />

</ruleset>
