<!--
	Other Oracle rulesets:

		- NetBeans.xml
		- Oracle.xml
		- Oracle-mismatches.xml


	See Oracle-mismatches.xml for problematic rules.


	Problematic subdomains:

		- cdn	(akamai)

-->
<ruleset name="MySQL">

	<target host="mysql.com"/>
	<target host="*.mysql.com"/>
    <!-- forums works but is a cert mismatch -->
		<exclusion pattern="^http://(bugs|cdn|forge|lists|planet|wb|forums)\.mysql\.com/"/>
	<target host="mysql.de"/>
	<target host="www.mysql.de"/>
	<target host="mysql.fr"/>
	<target host="www.mysql.fr"/>
	<target host="mysql.it"/>
	<target host="www.mysql.it"/>


	<!--	Cookies observered:

			- MySQL_S
			- SSO_Interstitial

		Looks like we need to leave SSO for bug 8025:

		- https://trac.torproject.org/projects/tor/ticket/8025
		- http://bugs.mysql.com/bug.php?id=67311

		Shared with at least bugs.

							-->
	<securecookie host="^\.mysql\.\w{2,3}$" name="^MySQL_S$"/>



	<rule from="^http://([^/:@\.]+\.)?mysql\.com/"
		to="https://$1mysql.com/"/>

	<!--	Cert doesn't match !www		-->
	<rule from="^http://(?:www\.)?mysql\.(\w\w)/"
		to="https://www.mysql.$1/"/>

</ruleset>
