<!--
	Nonfunctional hosts in *tango.me:

		- support *

	* zendesk


	Insecure cookies are set for these domains and hosts:

		- .tango.me
		- www.tango.me


	Mixed content:

		- Images from media.tango.me *
		- Images from $self *

	* Secured by us

-->
<ruleset name="Tango.me (partial)">

	<!--	Direct rewrites:
				-->
	<target host="tango.me" />
	<target host="media.tango.me" />
	<target host="www.tango.me" />

	<!--	Complications:
				-->
	<target host="support.tango.me" />

		<exclusion pattern="^http://support\.tango\.me/(?!favicon\.ico|images/|system/)" />

			<!--	+ve:
					-->
			<test url="http://support.tango.me/access/unauthenticated" />
			<test url="http://support.tango.me/anonymous_requests/new" />
			<test url="http://support.tango.me/forums" />
			<test url="http://support.tango.me/home" />

			<!--	-ve:
					-->
			<test url="http://support.tango.me/favicon.ico" />
			<test url="http://support.tango.me/images/logo-delimiter.png" />


	<!--	Incapsula cookies:
					-->
	<!--securecookie host="^\.tango\.me$" name="(?:incap_ses_\d+|nlbi|visid_incap)_\d+$" /-->
	<!--securecookie host="^www\.tango\.me$" name="^___utm[abm]\w+$" /-->

	<securecookie host="^\.tango\.me$" name="(?:incap_ses_\d+|nlbi|visid_incap)_\d+$" />
	<securecookie host="^www\.tango\.me$" name=".+" />


	<rule from="^http://support\.tango\.me/"
		to="https://tangome.zendesk.com/" />

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

</ruleset>
