<!--
	CDN buckets:

		- s3.amazonaws.com/siteassets.etsy.com/

-->
<ruleset name="Etsy (partial)">

	<target host="etsy.com" />
	<target host="*.etsy.com" />
		<exclusion pattern="^http://(?:de\.|fr\.|www\.)?etsy\.com/(?:\w\w/)?(?:about|android|apps|browse|community|error\.php|forums(?:_user_threads\.php)?|help|ipad|iphone|listing/\d+|mobile|people|press|registry|reopen_account\.php|sell|teams|treasury)(?:$|\?|/)" />
		<!--exclusion pattern="^http://(www\.)?etsy\.com/(?!assets/|(blog|(\w\w/)?(cart|signin)|clientlog)($|[?/])|(\w\w/)?forgot_password\.php|images/)" /-->
	<target host="*.etsystatic.com" />


	<!--	This site has rewrites back to HTTP and various other issues.
		That makes asecurecookie directive highly inadvisable.

	<securecookie host="^\.etsy\.com$" name=".+" /-->


	<rule from="^http://((?:de|fr|ny-image\d|system|www)\.)?etsy\.com/"
		to="https://$1etsy.com/" />

	<rule from="^http://(img\d|site|www)\.etsystatic\.com/"
		to="https://$1.etsystatic.com/" />

</ruleset>
