<!--
	Financial Times

	For rules causing MCB, see ft.com-mixedcontent.xml.

	Other Financial Times rulesets:

		- FT-static.com.xml
		- on.ft.com (via Bitly_branded_short_domains.xml)


	CDN buckets:

		- media.ft.com.edgesuite.net
		- s1.media.ft.com.edgesuite.net
		- search.ft.com.edgesuite.net 
		- www.ft.com.edgesuite.net


	Nonfunctional hosts in *ft.com:

		- ^			(times out)
		- aboutus *
		- blogs *
		- ftcorporate ʰ
		- funds ʳ
		- s1.media *
		- test.media *
		- reg.test.media *
		- s[123].test.media *
		- search		(503, akamai)
		- static-render-p	(504, Akamai)
		- www			(redirects to http)

	* 503, akamai
	* Redirects to www.ft.com, akamai
	ʰ WP Engine / redirects to http
	ʳ Refused


	Problematic hosts in *ft.com:

		- announce ˣ
		- media ᴬ
		- s4.media		(works, akamai)
		- navigation.webservices ᴬ

	ᴬ Akamai / mismatched
	ˣ Mixed css


	Partially covered hosts in *ft.com:

		- markets *

	* Some pages redirect to http


	Insecure cookies are set for these domains:

		- .ft.com
		- announce.ft.com
		- ftepaper.ft.com
		- cdn.markets.ft.com
		- sub.ft.com
		- .sub.ft.com


	Mixed content:

		- css, on:
		
			- announce from static-render-p.ft.com
			- announce from navigation.webservices.ft.com

		- Images, on:
		
			- announce from navigation.webservices.ft.com
			- announce from im.ft-static.com

		- Ads/bugs, on:

			- announce from ad.doubleclick.net
			- announce, ftepaper from media.ft.com
			- announce, ftepaper from stats.ft.com ˢ
			- announce, ftepaper from track.ft.com ˢ

	ˢ Secured by us

-->
<ruleset name="FT.com (partial)">

	<!--	Direct rewrites:
				-->
	<target host="accounts.ft.com" />
	<!--target host="announce.ft.com" /-->
	<target host="force.ft.com" />
	<target host="ftepaper.ft.com" />
	<target host="h2.ft.com" />
	<target host="markets.ft.com" />
	<target host="cdn.markets.ft.com" />
	<target host="next.ft.com" />
	<target host="next-geebee.ft.com" />
	<target host="build.origami.ft.com" />
	<target host="register.ft.com" />
	<target host="s3o.ft.com" />
	<target host="spoor-api.ft.com" />
	<target host="stats.ft.com" />
	<target host="sub.ft.com" />
	<target host="subscribe.ft.com" />
	<target host="track.ft.com" />
	<target host="image.webservices.ft.com" />

	<!--	Complications:
				-->
	<target host="s4.media.ft.com" />

		<!--	Redirects to http:
						-->
		<!--exclusion pattern="^http://markets\.ft\.com/research/Markets/Overview$" /-->
		<!--
			Exceptions:
					-->
		<exclusion pattern="^http://markets\.ft\.com/(?!favicon\.ico|RESEARCH/uploadhandler/)" />

			<!--	+ve:
					-->
			<test url="http://markets.ft.com/research/Markets/Currencies" />
			<test url="http://markets.ft.com/research/Markets/Overview" />

			<!--	-ve:
					-->
			<test url="http://markets.ft.com/favicon.ico" />

		<!--exclusion pattern="^http://registration\.ft\.com/(?!Common/|favicon\.ico|registration/barrier)" /-->

		<!--	Set cookie without Secure:
							-->
		<!--test url="http://h2.ft.com/image/v1/images/raw/fticon:brand-ft-masthead?format=svg&amp;source=memb-header" /-->
		<!--test url="http://spoor-api.ft.com/px.gif?data=%7B%22category%22%3A%22page%22%2C%22action%22%3A%22view%22%2C%22system%22%3A%7B%22api_key%22%3A%22qUb9maKfKbtpRsdp0p2J7uWxRPGJEP%22%2C%22source%22%3A%22o-tracking%22%2C%22version%22%3A%221.0.5%22%7D%2C%22context%22%3A%7B%22url%22%3A%22https%3A%2F%2Fsubscription.ft.com%2F%22%2C%22product%22%3A%22ft.com%22%2C%22funnel%22%3A%7B%22funnel_name%22%3A%22Subs%20sign-up%22%2C%22funnel_steps%22%3A3%2C%22step_name%22%3A%22start%22%2C%22step_number%22%3A1%7D%7D%7D" /-->

		<test url="http://ig.ft.com/static/widgets/story-collection-widget/brexit.png" />
		<test url="http://cdn.markets.ft.com/Research/ResourceManager/KNjVD_ltbtze6itZMl4bnQ2/u/f/635575616825479587/Research/Content/Images/Tabs.Sprite.png" />
		<test url="http://next.ft.com/__opt-in?optedvia=clippingshelp&amp;referrer=https%3A%2F%2Fnext.ft.com%2Fmyft%2Fsaved-articles" />
		<test url="http://next-geebee.ft.com/hashed-assets/myft-page/53451626/main.css" />
		<test url="http://next-geebee.ft.com/image/v1/images/raw/http%3A%2F%2Fnext-geebee.ft.com%2Fassets%2Ficons%2Fhamburger.svg?source=next&amp;tint=%23FFFFFF,%23FFFFFF&amp;format=svg" />
		<test url="http://registration.ft.com/registration/subscription-service/bpsp" />
		<test url="http://registration.ft.com/registration/subscription-service/signuppsp" />


	<!--	Not secured by server:
					-->
	<!--securecookie host="^\.ft\.com$" name="^(?:\d+_\d|AYSC|AYSC_C|FT_SITE|FTAllocation|FTUserTrack|anon-opt-in|h2_rtt|h2_spd|spoor-id)$" /-->
	<!--securecookie host="^(?:announce|cdn\.markets)\.ft\.com$" name="^GZIP$" /-->
	<!--securecookie host="^ftepaper\.ft\.com$" name="^FTEpaper$" /-->
	<!--securecookie host="^sub\.ft\.com$" name="^PHPSESSID$" /-->
	<!--securecookie host="^\.sub\.ft\.com$" name="^mb_sessid_/\w+$" /-->

	<!--	Tracking cookies set by track:
						-->
	<securecookie host="^\.ft\.com$" name="^(?:AYSC|AYSC_C|FTUserTrack)$" />


	<rule from="^http://s4\.media\.ft\.com/"
		to="https://s4.ft-static.com/" />

		<test url="http://s4.media.ft.com/opentag/opentag-27295-31253.js" />

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

</ruleset>
