<!--	d2qhngyckgiutd.cloudfront.net	←	avatar bucket
-->
<ruleset name="Wikidot (partial)" platform="mixedcontent">

	<target host="wdfiles.com"/>
	<target host="*.wdfiles.com"/>
	<target host="1.*.wdfiles.com"/>
	<target host="2.*.wdfiles.com"/>
	<target host="3.*.wdfiles.com"/>
	<target host="4.*.wdfiles.com"/>
	<target host="5.*.wdfiles.com"/>
	<target host="6.*.wdfiles.com"/>
	<target host="7.*.wdfiles.com"/>
	<target host="8.*.wdfiles.com"/>
	<target host="9.*.wdfiles.com"/>
	<target host="wikidot.com"/>
	<target host="*.wikidot.com"/>
	<exclusion pattern="^http://blog\.wikidot\.com/($|blog:.+[^/].*)"/>
	<exclusion pattern="^http://snippets\.wikidot\.com/($|.+[^:].*)"/>
	
	<!-- breaks iframes, see ticket #9335 -->
	<exclusion pattern="^http://([\w_-]+\.)?wdfiles\.com/local--html/" />	
	
	
	<rule from="^http://([\w\-_]+\.)?wdfiles\.com/"
		to="https://$1wdfiles.com/"/>

	<rule from="^http://(?:\d)\.([\w\-_]+)\.wdfiles\.com/"
		to="https://$1.wdfiles.com/"/>

	<rule from="^http://wikidot\.com/"
		to="https://www.wikidot.com/"/>

	<rule from="^http://([\w\-_]+)\.wikidot\.com/local-"
		to="https://$1.wikidot.com/local-"/>

	<rule from="^http://(blog|snippets|static(-\d)?|www)\.wikidot\.com/"
		to="https://$1.wikidot.com/"/>


	<securecookie host=".*\.wdfiles\.com$" name=".*"/>

</ruleset>
