<!--
	CDN buckets:

		- map-js.quantserve.com.akadns.net

-->
<ruleset name="Quantcast" platform="mixedcontent">

	<target host="quantcast.com" />
	<target host="*.quantcast.com" />
	<target host="quantserve.com" />
	<target host="*.quantserve.com" />


	<!--
  Experiment: disable securecookies to see if it fixes 
  https://trac.torproject.org/projects/tor/ticket/8406
  <securecookie host="^(.*\.)?quantcast\.com$" name=".*" />
	<securecookie host="^\.quantserve\.com$" name=".*" />
  -->


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

	<!--	Cert doesn't match.	-->
	<rule from="^https?://edge\.quantserve\.com/"
		to="https://www.quantserve.com/" />

	<rule from="^http://([^/:@\.]+\.)?quantserve\.com/"
		to="https://$1quantserve.com/" />

</ruleset>
