<!--
	Other Electronic Arts rulesets:

		- BioWare.xml


	CDN buckets:

		- a248.e.akamai.net/static.ea.com/
		- a248.e.akamai.net/vassets.ea.com/


	!functional:
		- eu.dragonage.com		(cert: socialsignup.ea.com; shows that domain)
		- (prod.)crysis.ea.com		(timeout)
		- cdn.prod.crysis.ea.com	(Akamai; "An error occurred")
		- eapressbox.ea.com		(timeout)
		- forum.ea.com			(timeout)
		- cdn.forum.ea.com		(Akamai; "An error occurred"; same data on forum)
		- gpl.ea.com			(timeout)
		- (www.)info.ea.com
		- investor.ea.com		(cert: *.shareholder.com; 403)
		- preferences.ea.com		(times out)
		- eamobile.com			(cert: synergy-stage.eamobile.com; shows that domain's data)
		- content.easports.com		(Akamai; "An error occurred")
		- insideea.com			(ssl_error_rx_record_too_long)
-->
<ruleset name="Electronic Arts (partial)" platform="mixedcontent">

	<target host="ea.com"/>
	<target host="*.ea.com"/>
	<target host="om.eamobile.com"/>
	<target host="synergy-stage.eamobile.com"/>
	<target host="easports.com"/>
	<target host="www.easports.com"/>
	<!--	* for cross-domain cookie
		Also matches cdn	-->
	<target host="*.www.easports.com"/>
	<target host="origin.com"/>
	<target host="*.origin.com"/>
	<target host="thesims3.com"/>
	<target host="*.thesims3.com"/>
	<target host="*.store.thesims3.com"/>


	<!--	incomplete
		.ea s_ : omniture cookies	-->
	<securecookie host="^\.ea\.com$" name="^(CEM-session|s_.*)$"/>
	<securecookie host="^(help|jobs|profile|ssl\.resources)\.ea\.com$" name=".*"/>
	<securecookie host="\.www\.easports\.com$" name=".*"/>
	<securecookie host="^sso\.origin\.com$" name=".*"/>
	<securecookie host="^(forum|\w\w|www)?\.thesims\.com$" name=".*"/>


	<!--	cert !match !www	-->
	<rule from="^http://ea\.com/"
		to="https://www.ea.com/"/>

	<rule from="^http://(?:(activate|ll\.assets|fonts|help|images|socialsignup|tos|www)|(?:www\.)?(jobs))\.ea\.com/"
		to="https://$1$2.ea.com/"/>

	<rule from="^http://(?:ssl\.)?resources\.ea\.com/"
		to="https://ssl.resources.ea.com/"/>

	<rule from="^http://(?:web-)?(static|vassets)\.ea\.com/"
		to="https://a248.e.akamai.net/$1.ea.com/"/>

	<!--	cert !match support, redirects to help	-->
	<rule from="^http://support\.ea\.com/"
		to="https://help.ea.com/"/>

	<rule from="^http://om\.eamobile\.com/"
		to="https://eamwebproduction.122.2o7.net/"/>

	<rule from="^http://synergy-stage\.eamobile\.com/"
		to="https://synergy-stage.eamobile.com/"/>

	<!--	cdn: Akamai
		cert !match !www	-->
	<rule from="^http://(?:(?:cdn\.)?www\.)?easports\.com/"
		to="https://www.easports.com/"/>

	<!--	cert !match !www	-->
	<rule from="^http://origin\.com/"
		to="https://www.origin.com/"/>

	<!--	most images served by Digital River	-->
	<rule from="^http://www\.origin\.com/favicon\.ico"
		to="https://www.origin.com/favicon.ico"/>

	<rule from="^http://(activate|sso)\.origin\.com/"
		to="https://$1.origin.com/"/>

	<rule from="^http://store\.origin\.com/DRHM/Storefront/Site/"
		to="https://store.origin.com/DRHM/Storefront/Site/"/>

	<!--	llnw:	*.hs.llnwd.net
		cert !match !www	-->
	<rule from="^http://(?:llnw\.|www\.)?thesims3\.com/"
		to="https://www.thesims3.com/"/>

	<!--	\w\w:	country codes	-->
	<rule from="^http://(forum|\w\w)\.thesims3\.com/"
		to="https://$1.thesims3.com/"/>

	<rule from="^http://(\w\w\.)?store\.thesims3\.com/(community|content/|css/|images/)"
		to="https://$1store.thesims3.com/$2"/>

	<!--	also on store, but cert valid & works	-->
	<rule from="^http://llnw\.store\.thesims3\.com/"
		to="https://llnw.store.thesims3.com/"/>

</ruleset>
