<!--
	For rules causing false/broken MCB, see XDA-Developers.com-falsemixed.xml.


	CDN buckets:

		- wac.8244.edgecastcdn.net/??8244/

			- buttons.media
			- cdn.media
			- icons.media
			- images.media
			- img.media
			- img[1-4].media
			- cdn.www


	Problematic subdomains:

		- images	(dropped)

		- media subdomains:

			- ^ *
			- buttons *
			- cdn *
			- icons *
			- images *
			- img *
			- img[1-4] *

		- cdn.www **

	* Works; mismatched, CN: gp1.wac.edgecastcdn.net
	** 404; mismatched, CN: gp1.wac.edgecastcdn.net


	Partially covered subdomains:

		- (www.)	(avoiding false/broken MCB)
		- forum		(at least some pages redirect to http)


	Fully covered subdomains:

		- images *

		- media subdomains: *

			- ^
			- buttons
			- cdn
			- icons
			- img
			- img\d

		- cdn.www	(→ www)

	* → forum


	Mixed content:

		- Scripts on, www from:

			- cdn.media *
			- cdn.www *
			- gdata.youtube.com *

		- css on www from cdn.media *

		- Images, on www from:

			- cdn.media *
			- www *
			- cdn.www *

	* Secured by us

-->
<ruleset name="XDA Developers (partial)">

	<target host="xda-developers.com" />
	<target host="*.xda-developers.com" />
		<!--
			Avoid false/broken MCB:
						-->
		<exclusion pattern="^http://(?:www\.)?xda-developers\.com/+(?!favicon\.ico|wp-content/|wp-includes/)" />
		<exclusion pattern="^http://forum\.xda-developers\.com/(?!clientscript/|css/|favicon\.ico|images/)" />


	<rule from="^http://(forum\.|www\.)?xda-developers\.com/"
		to="https://$1xda-developers.com/" />

	<rule from="^http://(?:images|(?:(?:buttons|cdn|icons|img\d?)\.)?media)\.xda-developers\.com/"
		to="https://forum.xda-developers.com/" />

	<rule from="^http://cdn\.www\.xda-developers\.com/"
		to="https://www.xda-developers.com/" />

</ruleset>
