<!--
	Disabled per https://github.com/EFForg/https-everywhere/issues/1514
	CDN buckets:

		- cdn.mashable.com.edgesuite.net

		- rack.mshcdn.com.edgesuite.net

			-rack.[012].mshcdn.com

		- mashableeventswidget.oxynade.netdna-cdn.com
		- mashable.d2.sc.omtrdc.net/b/ss/mashdev/


	Problematic domains:

		- rack.[0-3].mshcdn.com *

	* Works, akamai

-->
<ruleset name="Mashable.com (partial)" default_off="Breaks icon font">

	<!--target host="mashable.com" /-->
	<!--target host="www.mashable.com" /-->
	<target host="*.mshcdn.com" />
		<!--
			Started 301 to http *sometimes*.


			These paths do:

				- \d{4}/\w\w/\w\w/[\w\-]+/?$	(articles)
				- assets/
				- follow/stories/shares.json?pids=...
				- follow/stories/top/?tag=\d+&ts=\d{10}
				- follow/images/[\w\-]+.\w{3}(\w{10})?$
				- follow/images/facebook/facebook_app_icon_34x28.gif
				- follow/images/new_badges/12/icebreaker_16x16.png?\d{10}
				- follow/login/facebook/
				- follow/login/oauth/twitter/
				- follow/packages/wp-datauri.css?\d{10}
				- follow/uploads/topic/image/(\w\w/){6}\w+-\w{10}.(jpe?g|png)
				- login/
				- media/


			These paths don't (shhh!):

				- $
				- follow/images/avatars/thumb/
				- follow/packages/shared.js?ver=\d{10}
				- follow/packages/wp.js?ver=\d{10}
				- stories.json
				- tripleclick.html
				- wp-content/uploads/


			Update: meticulously broken.

					-->
		<!--exclusion pattern="^http://(?:(?:www\.)?mashable|(?:rack\.)?\d\.mshcdn)\.com/(?:\d{4}/\d\d/\d\d/[\w\-]+/?$|assets/|follow/(?:images/(?:facebook/|new_badges/\d\d/)?[\w\-]+\.\w{3}(?:$|\?)|login/|media/|packages/wp-datauri\.css(?:$|\?)|stories/(?:shares\.json|top/)(?:$|\?)|uploads/(?:topic/image|user/avatar)/\w\w/))" /-->


	<!--rule from="^http://(?:www\.)?mashable\.com/"
		to="https://mashable.com/" /-->

	<rule from="^http://rack\.(\d)\.mshcdn\.com/"
		to="https://a248.e.akamai.net/f/248/6650/10/rack.$1.mshcdn.com/" />

</ruleset>
