<!--
	For problematic rules, see TED-mismatches.xml.


	CDN buckets:

		- video.ted.com.edgesuite.net

		- lvlt.tedcdn.com.c.footprint.net

			- images.ted.com


	Nonfunctional domains:

		- conferences.ted.com	(shows default RHEL page)
		- images.ted.com *
		- media.ted.com *

	* Times out

-->
<ruleset name="TED (buggy)" default_off="breaks videos">

	<target host="ted.com" />
	<target host="*.ted.com" />
		<!--
			Breaks videos embedded on 3rd-party websites.

			https://mail1.eff.org/pipermail/https-everywhere-rules/2012-May/001134.html
											-->
		<exclusion pattern="^https?://images\.ted\.com/crossdomain\.xml$" />
		<!--
			Handled in TED-mismatches.xml.
							-->
		<exclusion pattern="^http://video\.ted\.com/" />
	<target host="lvlt.tedcdn.com" />

  <!-- do not securecookie this ruleset :
    https://trac.torproject.org/projects/tor/ticket/7548
	  <securecookie host="^.*\.ted\.com$" name=".+" />
  -->

	<rule from="^https?://ed\.ted\.com/"
		to="https://teded.herokuapp.com/" />

	<rule from="^https?://(?:images\.ted|lvlt\.tedcdn)\.com/"
		to="https://www.ted.com/" />

</ruleset>
