<!--
	Other Marketo rulesets:

		- Crowd-Factory.xml
		- Mktoresp.com.xml


	Problematic domains:

		- marketo.com *
		- (www.)marketo.net *

	* Cert only matches *.marketo.com


	Fully covered domains:

		- marketo.com subdomains:

			- (www.)	(^ → www)
			- app

			- app-\w+:

				- -[a-q]
				- -abk
				- -lon02
				- -sj\d
				- -sj[fhn]

			- b2c-mlm
			- blog
			- micro
			- munchkin	(→ munchkin.marketo.net)

			- na-\w+:

				- -[a-df-q]
				- -abk
				- -lon02
				- -sj0\d
				- -sj[fhn]

		- marketo.net subdomains:

			- (www.)	(→ www.marketo.com)
			- app		(→ app-a.marketo.com)
			- munchkin
			- ssl-munchkin


	munchkin sets a "_mkto_trk" wildcard cookie on whichever domain it is
	loaded from.

-->
<ruleset name="Marketo">

	<target host="marketo.com" />
	<target host="*.marketo.com" />
	<target host="marketo.net" />
	<target host="*.marketo.net" />


	<securecookie host="^(?:.*\.)?marketo\.(?:com|net)$" name=".+" />


	<rule from="^http://(?:www\.)?marketo\.(?:com|net)/"
		to="https://www.marketo.com/" />

	<rule from="^http://(app(?:-\w+)?|b2c-mlm|blog|micro|na-\w+)\.marketo\.com/"
		to="https://$1.marketo.com/" />

	<!--	Server redirects as so:
					-->
	<rule from="^http://app\.marketo\.net/"
		to="https://app-a.marketo.com/" />

	<rule from="^http://(ssl-)?munchkin\.marketo\.(?:com|net)/"
		to="https://$1munchkin.marketo.net/" />

</ruleset>
