packages feed

https-everywhere-rules-raw-4.0: vendor/https-everywhere/src/chrome/content/rules/Zenfolio.xml

<ruleset name="Zenfolio (partial)">

	<target host="zenfolio.com" />
	<target host="*.zenfolio.com" />
	<target host="cdn.zenfolio.net" />
		<!--
			Implicated in breaking flash slideshows:

				- https://trac.torproject.org/projects/tor/ticket/9129
				- https://mail1.eff.org/pipermail/https-everywhere-rules/2013-July/001640.html
											-->
		<exclusion pattern="^http://cdn\.zenfolio\.net/crossdomain\.xml" />


	<!--	Akamai; "An error occurred"	-->
	<rule from="^https?://cdn\.zenfolio\.net/"
		to="https://www.zenfolio.com/" />

	
	<rule from="^https?://(?:www\.)?zenfolio\.com/zf/(css/|img/|login\.aspx)"
		to="https://secure.zenfolio.com/zf/$1" />

	<rule from="^https?://(?:www\.)?zenfolio\.com/zf/transfer/s/"
		to="https://secure.zenfolio.com/zf/" />

	<rule from="^http://secure\.zenfolio\.com/"
		to="https://secure.zenfolio.com/" />

	<!--	- Clients have unique subdomains
		- Akamai
		- At least some pages redirect to http.
		- Data are on www too
		- secure has an EV cert
				-->
	<rule from="^https?://\w+\.zenfolio\.com/img/"
		to="https://secure.zenfolio.com/img/" />

	<!--	This throws 401 when rewritten to secure.	-->
	<rule from="^https?://\w+\.zenfolio\.com/cdn/"
		to="https://www.zenfolio.com/cdn/" />

</ruleset>