<!--
	For problematic rules, see Spotify-problematic.xml.


	CDN buckets:

		- s3.amazonaws.com/scdn/

		- d1clcicqv97n4s.cloudfront.net

			- download

		- d2b1xqaw2ss8na.cloudfront.net

		- d2c87l0yth4zbw.cloudfront.net

			- cf.scdn.co

		- d2ig1kx3difw30.cloudfront.net
		- d3d188a7ymhk4r.cloudfront.net
		- dlfl22czvqywx.cloudfront.net
		- spotify.i.lithium.com


	Problematic domains:

		- cf.scdn.co			(cloudfront)
		- origin.scdn.co		(mismatched, CN: *.spotify.com)


	Fully covered domains:

		- cf.scdn.co	(→ d2c87l0yth4zbw.cloudfront.net)

		- spotify.com subdomains:

			- (www.)
			- community
			- developer
			- download	(→ d1clcicqv97n4s.cloudfront.net)
			- embed
			- support


	Mixed content:

		- Images, on community from:

			- community *
			- www.airplane-pictures.net **

		- Web bugs on community from files.quizsnack.com *

	* Secured by us
	** Unsecurable

-->
<ruleset name="Spotify (partial)">

	<target host="cf.scdn.co" />
	<target host="spotify.com" />
	<target host="*.spotify.com" />


	<securecookie host="^(?:community|\.developer|\.?embed|www)?\.spotify\.com$" name=".+" />


	<rule from="^http://cf\.scdn\.co/"
		to="https://d2c87l0yth4zbw.cloudfront.net/" />

	<rule from="^http://((?:community|developer|embed|support|www)\.)?spotify\.com/"
		to="https://$1spotify.com/" />

	<rule from="^http://download\.spotify\.com/"
		to="https://d1clcicqv97n4s.cloudfront.net/" />

</ruleset>
