<!--
	For rules covering more than resources, see BBC.xml.

	Note: platform is so as not to increase non-Tor
	distinguishability, given that no pages are covered
	and no mixed content secured.

-->
<ruleset name="BBC.co.uk (resources)" platform="mixedcontent">

	<target host="bbc.co.uk" />
	<target host="downloads.bbc.co.uk" />
	<target host="open.live.bbc.co.uk" />
	<target host="www.live.bbc.co.uk" />
	<target host="newsimg.bbc.co.uk" />
	<target host="polling.bbc.co.uk" />
	<target host="static.bbc.co.uk" />
	<target host="www.bbc.co.uk" />

		<test url="http://downloads.bbc.co.uk/errors/btm.gif" />
		<test url="http://newsimg.bbc.co.uk/shared/img/v4/skip_to_top_arrow.gif" />
		<test url="http://static.bbc.co.uk/id/0.34.96/img/bbcid_orb_signin_light.png" />

		<exclusion pattern="^http://(?:www\.)?bbc\.co\.uk/(?!/*favicon\.ico)" />

			<!--	+ve:
					-->
			<test url="http://www.bbc.co.uk/arts" />
			<test url="http://www.bbc.co.uk/blogs/internet/entries/f6f50d1f-a879-4999-bc6d-6634a71e2e60" />
			<test url="http://www.bbc.co.uk/blogs/tv/" />
			<test url="http://www.bbc.co.uk/contact" />

			<!--	-ve:
					-->
			<test url="http://www.bbc.co.uk/favicon.ico" />

		<!--	Avoid potential XHR or flash policy problems:
									-->
		<exclusion pattern="^http://(?!.+\.(?:bmp|css|gifv?|ico|jpe?g|pdf|png|svg|tiff?|ttf|woff)(?:$|\?))" />

			<!--	+ve:
					-->
			<test url="http://downloads.bbc.co.uk/default.aspx" />
			<test url="http://open.live.bbc.co.uk/crossdomain.xml" />
			<test url="http://open.live.bbc.co.uk/default.aspx" />
			<test url="http://open.live.bbc.co.uk/weather/feeds/en/2650225/3dayforecast.rss" />
			<test url="http://polling.bbc.co.uk/appconfig/iplayerradio/tablet/android/2.0.0/info.html" />
			<test url="http://polling.bbc.co.uk/default.aspx" />
			<test url="http://polling.bbc.co.uk/index.html" />
			<test url="http://static.bbc.co.uk/default.aspx" />
			<test url="http://static.bbci.co.uk/frameworks/jquery/0.3.0/sharedmodules/jquery-1.9.1" />
			<test url="http://static.bbci.co.uk/frameworks/relay/0.2.6/sharedmodules/relay-1" />
			<test url="http://www.live.bbc.co.uk/crossdomain.xml" /><!--	secure="false" -->
			<test url="http://www.live.bbc.co.uk/default.aspx" />
			<test url="http://www.live.bbc.co.uk/index.html" />
			<test url="http://www.live.bbc.co.uk/index.php" />


	<rule from="^http:"
		to="https:" />

</ruleset>
