<!--
	d1rktifm8krpj.cloudfront.net/


	Nonfunctional domains:

		- apidocs.mendeley.com	(timeout)

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

	<target host="*.mendeley.com" />
	<!--
		As of 2012-05-16, this has started redirecting back. :(

		Note that all files are fetched from cloudfront anyway.

	<target host="mendeley.com" />
	<target host="ha3.www.mendeley.com" />


	<rule from="^https?://(?:(?:ha3\.)?www\.)?mendeley\.com/"
		to="https://d1rktifm8krpj.cloudfront.net/" />

		Cert only matches (*.)mendeley.com	-->
	<rule from="^https?://ha3\.www\.mendeley\.com/"
		to="https://www.mendeley.com/" />

	<rule from="^http://(www\.)?mendeley\.com/(jo|log)in/"
		to="https://$1mendeley.com/$2in/" />

	<!--	Looks like the 2012-05-11 change made this useless(?)
	<rule from="^http://dev\.mendeley\.com/(applications/register/|forgot|graphics|join|login|styles)/"
		to="https://dev.mendeley.com/$1/" /-->

	<rule from="^https?://support\.mendeley\.com/(images/|track\.gif)"
		to="https://mendeley.uservoice.com/$1" />

</ruleset>
