<!--
	CDN buckets:

		- thebodyshop-uk-blog.azurewebsites.net
		- www.thebodyshop.co.uk.edgesuite.net
		- bodyshop.metafaq.com


	Nonfunctional hosts in *thebodyshop.co.uk:

		- (www.)?beautyblog ᵖ
		- skincareonline ᵃ

	ᵃ Shows another domain
	ᵖ Plaintext reply


	^thebodyshop.co.uk: Mismatched
	www.thebodyshop.co.uk: Akamai / mismatched


	Insecure cookies are set for these domains and hosts:

		- .thebodyshop.co.uk
		- help.thebodyshop.co.uk
		- secure.thebodyshop.co.uk


	Mixed content:

		- Images on secure from www.thebodyshop.co.uk *

		- Bugs, on:

			- secure from ad.amgdgt.com *
			- secure from res.levexis.com *

	* Secured by us, see https://www.paulirish.com/2010/the-protocol-relative-url/

-->
<ruleset name="The Body Shop.co.uk (partial)">

	<!--	Direct rewrites:
				-->
	<target host="help.thebodyshop.co.uk" />
	<target host="secure.thebodyshop.co.uk" />

	<!--	Complications:
				-->
	<target host="thebodyshop.co.uk" />
	<target host="www.thebodyshop.co.uk" />

		<!--	Redirects back:
								-->
		<!--exclusion pattern="^http://(?:www\.)?thebodyshop\.co\.uk/(?:$|(?:index|new|skin-advice)\.aspx)" /-->
		<!--
			Exceptions:
					-->
		<exclusion pattern="^http://(?:www\.)?thebodyshop\.co\.uk/(?!/*(?:404\.htm|404-\d\.jpg|(?:athome|content|loveyourbody|myspace)(?:$|[?/])|checkout/|css/|images/|img/|js/|loyalty/|services/|socialhub/|(?:Script|Web)Resource\.axd|ws/))" />

			<!--	+ve:
					-->
			<test url="http://thebodyshop.co.uk/body.aspx" />
			<test url="http://thebodyshop.co.uk/body/scrubs.aspx" />
			<test url="http://thebodyshop.co.uk/catalog/" />
			<test url="http://thebodyshop.co.uk/face.aspx" />
			<test url="http://thebodyshop.co.uk/face/accessories.aspx" />
			<test url="http://thebodyshop.co.uk/fragrance.aspx" />
			<test url="http://thebodyshop.co.uk/fragrance/candles.aspx" />
			<test url="http://thebodyshop.co.uk/gifts.aspx" />
			<test url="http://thebodyshop.co.uk/hair.aspx" />
			<test url="http://thebodyshop.co.uk/hair/styling.aspx" />
			<test url="http://www.thebodyshop.co.uk/hands.aspx" />
			<test url="http://www.thebodyshop.co.uk/hands/tools.aspx" />
			<test url="http://www.thebodyshop.co.uk/index.aspx" />
			<test url="http://www.thebodyshop.co.uk/joy" />
			<test url="http://www.thebodyshop.co.uk/new.aspx" />
			<test url="http://www.thebodyshop.co.uk/services/aboutus_privacypolicy.aspx" />
			<test url="http://www.thebodyshop.co.uk/services/cookies.aspx" />
			<test url="http://www.thebodyshop.co.uk/skin-advice.aspx" />
			<test url="http://www.thebodyshop.co.uk/values/ingredient_cotton.aspx" />
			<test url="http://www.thebodyshop.co.uk/values/tct.aspx" />

			<!--	-ve:
					-->
			<test url="http://thebodyshop.co.uk/404-3.jpg" />
			<test url="http://thebodyshop.co.uk/404.htm" /><!--	Mixed images -->
			<test url="http://thebodyshop.co.uk/athome/athome_hostaparty.aspx" /><!--	Mixed images, bug -->
			<test url="http://thebodyshop.co.uk/content" /><!--	Mixed images, bug -->
			<test url="http://thebodyshop.co.uk/content/TBSAH/index.aspx" /><!--	Mixed images, bug -->
			<test url="http://thebodyshop.co.uk/content/affiliates/hub.aspx" /><!--	Mixed images, bug -->
			<test url="http://www.thebodyshop.co.uk/css/common/fiche_produit.css" />
			<test url="http://www.thebodyshop.co.uk/images/product/Medium/47466m_m.jpg" />
			<test url="http://www.thebodyshop.co.uk/img/BTN_SgnInRED_ON.gif" />
			<test url="http://www.thebodyshop.co.uk/love-your-body" />
			<test url="http://www.thebodyshop.co.uk/love-your-body/index.aspx" />
			<test url="http://www.thebodyshop.co.uk/services/sitemap.aspx" /><!--	Mixed images -->
			<test url="http://www.thebodyshop.co.uk/services/storelocator-search.aspx" />

		<!--	Avoid potential XHR problems:
							-->
		<exclusion pattern="^http://(?:www\.)?thebodyshop\.co\.uk/.+\.js(?:on)?(?:$|\?)" />

			<!--	+ve:
					-->
			<test url="http://thebodyshop.co.uk/js/lib/jquery/jquery-ui.1.9.2.min.js" />
			<test url="http://thebodyshop.co.uk/js/lib/modernizr/modernizr-2.5.3.min.js" />
			<test url="http://www.thebodyshop.co.uk/js/lib/jquery/jquery-ui.1.9.2.min.js" />
			<test url="http://www.thebodyshop.co.uk/js/lib/modernizr/modernizr-2.5.3.min.js" />
			<test url="http://www.thebodyshop.co.uk/js/lib/modernizr/modernizr-ie-prefix.min.js" />
			<test url="http://www.thebodyshop.co.uk/js/s_code.js" />


	<!--	Not secured by server:
					-->
	<!--securecookie host="^\.thebodyshop\.co\.uk$" name="^(?:AdditionalParams|stop_mobi|UKTBSAUTH|UserAuthentication)$" /-->
	<!--securecookie host="^help\.thebodyshop\.co\.uk$" name="^(?:identitytoken|vsid)$" /-->
	<!--securecookie host="^secure\.thebodyshop\.co\.uk$" name="^(?:server)$" /-->

	<!--	Tracking cookies:
					-->
	<securecookie host="^\." name="^(?:_gat?$|_gat_|TRADEDOUBLER_\w+$|__tro\w+$)" />
	<securecookie host="^(?!\.thebodyshop\.co\.uk$)." name="." />


	<rule from="^http://(?:www\.)?thebodyshop\.co\.uk/"
		to="https://secure.thebodyshop.co.uk/" />

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

</ruleset>
