<!--
	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)
		- store.imgur.com	(→ imgur-store.myshopify.com)


	Insecure cookies are set for these domains:

		- .imgur.com

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

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

		<test url="http://www.imgur.com/" />


	<!--	Not secured by server:
					-->
	<!--securecookie host="^\.imgur\.com" name="^(__cfduid|cf_clearance)$" /-->

	<securecookie host="^\.?imgur\.com" name=".+" />


	<rule from="^http://img\.imgur\.com/"
		to="https://i.imgur.com/" />

		<test url="http://img.imgur.com/" />

	<rule from="^http://store\.imgur\.com/"
		to="https://imgur-store.myshopify.com/" />

		<test url="http://store.imgur.com/" />

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

</ruleset>
