<!--
	CDN buckets:

		- images2.wikia.nocookie.net
		- slot1.images[1-4]?.wikia.nocookie.net


	Problematic domains:

		- wikia.com	(mismatched)
		- a.wikia-beacon.com	(works, mismatched, CN: *.a.ssl.fastly.net)

-->
<ruleset name="Wikia" platform="mixedcontent">

	<target host="*.wikia.nocookie.net" />
	<target host="slot1.*.wikia.nocookie.net" />
	<target host="wikia.com" />
	<target host="*.wikia.com" />


	<securecookie host="^.*\.wikia\.com$" name=".+" />


	<rule from="^https?://(?:slot\d\.)?images\d?\.wikia\.nocookie\.net/"
		to="https://images.wikia.com/" />

	<rule from="^https?://(?:www\.)?wikia\.com/"
		to="https://www.wikia.com/" />

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

</ruleset>
