<ruleset name="Cloudfront">

	<target host="*.cloudfront.net" />
	<target host="www.cloudfront.net" />


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


	<!--	Fixes video on prosieben.de/tv/switch-reloaded/video/clip/1928955-volle-kanne-der-riesen-rammler-1.3349717/
											-->
	<exclusion pattern="^http://d14orf5kgffdwb\.cloudfront\.net/dynamic/date\.php" />
	<!--
		https://trac.torproject.org/projects/tor/ticket/6848
									-->
	<exclusion pattern="^http://d1b14unh5d6w7g\.cloudfront\.net" />

	<!--	https://trac.torproject.org/projects/tor/ticket/7020
									-->
  	<exclusion pattern="^http://d1i6vahw24eb07\.cloudfront\.net" />
	<!--
		C-SPAN videos: https://trac.torproject.org/projects/tor/ticket/7567
									-->
	<exclusion pattern="^http://d1k4es7bw1lvxt\.cloudfront\.net" />
	<!--
		this unbreaks turntable.fm and probably many other things
									-->
	<exclusion pattern="^http://d1bw0qpdrmjlhz\.cloudfront\.net" />
	<!--
		This breaks padlet.com wall:

			https://trac.torproject.org/projects/tor/ticket/9146
									-->
	<exclusion pattern="^http://d2s8n7nv9yizdf\.cloudfront\.net/assets/extras-\w{32}\.js" />
	<!--
		and this is a generalised precaution from turntable.fm
									-->
	<exclusion pattern="^http://(?:[^/:@\.]+)\.cloudfront\.net/crossdomain\.xml" />
  <!-- 
      Spotify https://trac.torproject.org/projects/tor/ticket/7888 
                  -->
  <exclusion pattern="^http://dsu0uct5x2puz\.cloudfront\.net" />
  <!-- Droplr: https://trac.torproject.org/projects/tor/ticket/8572 -->
  <exclusion pattern="^http://d1zjcuqflbd5k\.cloudfront\.net" />
  <!-- TuneIn: https://trac.torproject.org/projects/tor/ticket/8704 -->
  <exclusion pattern="^http://d3bwsr3zpy54hy\.cloudfront\.net" />
  <!-- Amazon mp3: https://trac.torproject.org/projects/tor/ticket/9367 
                   https://trac.torproject.org/projects/tor/ticket/9851 -->
  <exclusion pattern="^http://d2q1srilgjznst\.cloudfront\.net" />
  <exclusion pattern="^http://d28julafmv4ekl\.cloudfront\.net" />
</ruleset>
