<!--
	CDN buckets:

		- cdn.sharethis.com.edgesuite.net

			- a1694.g.akamai.net

		- s.sharethis.com.edgesuite.net

			- a803.g.akamai.net

		- w.sharethis.com.edgesuite.net

			- a335.b.akamai.net


	Nonfunctional hosts in *sharethis.com:

		- ^ ¹
		- forums ²
		- support ²
		- www ²

	¹ 503
	² Redirects to http


	Problematic subdomains:

		- cdn *
		- s *
		- w *

	* Works, akamai


	Fully covered hosts in *sharethis.com:

		- cf-wp-prod
		- help
		- l
		- s		(→ sd)
		- seg
		- w		(→ ws)
		- wd
		- wd-edge
		- ws


	Mixed content:

		- Fonts on support from www.sharethis.com ¹
		- Images on support from www.sharethis.com ¹
		- Bugs on support from hello.myfonts.net ²

	¹ Unsecurable <= redirects to http
	² Secured by us

-->
<ruleset name="ShareThis.com (partial)">

	<!--	Direct rewrites:
				-->
	<target host="cf-wp-prod.sharethis.com" />
	<target host="help.sharethis.com" />
	<target host="l.sharethis.com" />
	<target host="sd.sharethis.com" />
	<target host="seg.sharethis.com" />
	<target host="wd.sharethis.com" />
	<target host="wd-edge.sharethis.com" />
	<target host="ws.sharethis.com" />

	<!--	Complications:
				-->
	<target host="s.sharethis.com" />
	<target host="w.sharethis.com" />

		<!--	Redirects to http:
						-->
		<!--exclusion pattern="^http://(support|www)\.sharethis\.com/$" /-->

		<!--	Redirects to http:
						-->
		<!--exclusion pattern="^http://forums\.sharethis\.com/($|wp-content/)" /-->

			<!--test url="http://forums.sharethis.com/wp-content/themes/sharethis/images/homepage-engage-radar-1.png" /-->

		<test url="http://cf-wp-prod.sharethis.com/wp-content/plugins/yet-another-related-posts-plugin/style/widget.css.gzip" />
		<test url="http://seg.sharethis.com/socialOptimizationPixel.php" />


	<!--	Not secured by server:
					-->
	<!--securecookie host="^\.sharethis\.com$" name="^__seg$$" /-->

	<!--securecookie host="^\.sharethis\.com$" name="^(__stid|__uset)$" /-->
	<!--securecookie host="^(?:.*\.)?sharethis\.com$" name=".+" /-->
	<securecookie host=".+\.sharethis\.com$" name=".+" />


	<rule from="^http://s\.sharethis\.com/"
		to="https://sd.sharethis.com/" />

	<rule from="^http://w\.sharethis\.com/"
		to="https://ws.sharethis.com/" />

	<rule from="^http:"
		to="https:" />

</ruleset>
