<!--
	CDN buckets:

		- staticcdn.mediafire.com.edgesuite.net

-->
<ruleset name="MediaFire (buggy)" default_off="https://eff.org/r.2arJ">

	<target host="mediafire.com" />
	<target host="*.mediafire.com" />
		<!--
			Redirect to http:
						-->
		<!--exclusion pattern="^http://(www\.)?mediafire\.com/+(download/)" /-->


	<rule from="^http://(?:www\.)?mediafire\.com/(?=blank\.html|images/|js/|s(?:elect_account_type|sl_login)\.php)"
		to="https://www.mediafire.com/" />

	<rule from="^http://(?:orig-|static)?cdn\.mediafire\.com/"
		to="https://origin-cdn.mediafire.com/" />

	<rule from="^http://(download\d+|cdnssl)\.mediafire\.com/"
		to="https://$1.mediafire.com/" />

</ruleset>
