<!--
	Imgur now has full HTTPS support on all subdomains.
	Previously, there were issues as discussed :
		- https://mail1.eff.org/pipermail/https-everywhere-rules/2013-July/001645.html
		- https://bugzilla.mozilla.org/show_bug.cgi?id=866986#c7
	Ruleset simplified and fixed by bryn@imgur.com, January 2014.

	Fully covered domains:
		- imgur.com
		- *.imgur.com:
			- i
			- origin
			- m
			- s
			- i.stack
			- www
		- img.imgur.com		(→ i)
		- status.imgur.com  (→ imgur.statuspage.io)
		- store.imgur.com	(→ imgur-store.myshopify.com)

	Insecure cookies are set for these domains:
		- .imgur.com
			__cfduid
		- .m.imgur.com
			IMGURUIDJAFO, MWSESSIONDATA, user_page, user_query,
			user_section, user_sort, user_tag, user_timeWindow, user_view

-->
<ruleset name="Imgur.com">

	<target host="imgur.com" />
	<target host="*.imgur.com" />

		<test url="http://www.imgur.com/" />
		<test url="http://i.imgur.com/" />
		<test url="http://i.stack.imgur.com/t4snY.png" />
		<test url="http://status.imgur.com/" />

	<securecookie host=".+" name=".+" />

	<rule from="^http://status\.imgur\.com/"
		to="https://imgur.statuspage.io/" />

	<rule from="^http:"	to="https:" />

</ruleset>
