<!--	s3.amazonaws.com/newshour/photos/yyyy/mm/dd/
	s3.amazonaws.com/pbs.merlin.cdn.prod/
	dnn506yrbagrg.cloudfront.net

	!functional:
		- pbs.org					(timeout)
		- www.pbs.org					(homepage redirects to http, other paths: 403)
		- www-tc.pbs.org(/cove-media|/images|/video)	(*.hs.llnwd.net, *.llnw.net, *.llnw-trials.com, *.upload.llnw.net; shows blank page)
		- (www.)pbskids.org				(timeout)
-->
<ruleset name="Public Broadcasting Service (partial)" platform="mixedcontent">

	<target host="video.pbs.org"/>
	<target host="www-tc.pbs.org"/>
	<target host="shoppbs.org"/>
	<target host="www.shoppbs.org"/>

	<securecookie host="^www\.shoppbs\.org$" name=".*"/>

  <!-- This broke Washington Week videos like http://www.pbs.org/weta/washingtonweek/watch/watch%20the%20show/34039
       https://trac.torproject.org/projects/tor/ticket/7180 
	<rule from="^http://video\.pbs\.org/"
		to="https://video.pbs.org/"/>
  -->

	<rule from="^http://www-tc\.pbs\.org/s3/pbs\.(merlin\.cdn\.prod|pbsorg-prod\.mediafiles)/"
		to="https://s3.amazonaws.com/pbs.$1/"/>

	<!--	cert !match !www	-->
	<rule from="^http://(?:www\.)?shoppbs\.org/"
		to="https://www.shoppbs.org/"/>

</ruleset>
