packages feed

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

<!--
	Nonfunctional domains:

		- esupport.sony.com		(redirects to s01.esupport, which has different data)
		- www.kb.sony.com


	Mixed images on support.us.playstation.com from us.playstation.com

-->
<ruleset name="Sony (partial)" platform="mixedcontent">

	<!--	* for cross-domain cookie.	-->
	<target host="*.playstation.com" />
	<target host="*.us.playstation.com" />
		<!--
			Many paths now redirect to http:

			https://mail1.eff.org/pipermail/https-everywhere-rules/2012-September/001284.html
				- https://mail1.eff.org/pipermail/https-everywhere-rules/2013-July/001641.html

				Including:

					- $
					- adaptor/?$
					- adaptor/verify/?$
					- community/?$
					- community/liveevents/?$
					- csimg/
					- favicon.ico
					- games/?$
					- games/.*.html
					- games-and-media$
					- games-and-media/franchise/.*.html
					- grid$
					- grid/games_events/?$
					- myprofile$
					- news/consumeralerts/$
					- omniture/blogs/s_code.js
					- ps3/?$
					- ps3/games-and-media/$
					- psn/playstation-home/?$
					- psn/shows-and-tv-series/$
					- wtb/?$
					- support/warranties/index.htm
					- support/warranties/.*/index.htm

				But not including:

					- pscomauth/groups/public/documents/webasset/transparent.gif
					- psnevent/EventsController.action
					- uwps/PSNTicketRetrievalGenericServlet


				support/?$ does too, but then redirects to a secure url.
													-->
		<!--exclusion pattern="^http://us\.playstation\.com/($|\?|(adaptor|community|games|grid|games-and-media|myprofile|news|ps[3n])($|[?/])|csimg/|support/?[^?])" />
		<exclusion pattern="^http://us\.playstation\.com/omniture/blogs/s_code\.js" /-->
		<exclusion pattern="^http://us\.playstation\.com/(?!pscomauth/|psnevent/|uwps/)" />
	<target host="webassets.scea.com" />
	<target host="*.webassets.scea.com" />
	<target host="sony.com" />
	<target host="*.sony.com" />
	<target host="s01.esupport.sony.com" />
	<target host="sonyentertainmentnetwork.com" />
	<target host="*.sonyentertainmentnetwork.com" />


	<securecookie host="^.*\.playstation\.com$" name=".*" />
	<securecookie host="^.*\.sony\.com$" name=".*" />
	<securecookie host="^.*\.sonyentertainmentnetwork\.com$" name=".*" />


	<!--	Redirects to http first:
					-->
	<rule from="^http://(?:www\.)?us\.playstation\.com/support/?(\?.*)?$"
		to="https://support.us.playstation.com/$1" />

	<!--	Cert doesn't match www.us.	-->
	<rule from="^https?://(?:(service1\.)|www\.)?us\.playstation\.com/"
		to="https://$1us.playstation.com/" />

	<!--	- Cert doesn't match
		- Redirects as so
				-->
	<rule from="^https?://(?:www\.)?scea\.com/"
		to="https://us.playstation.com/" />

	<!--	webassets[a-j]?.scea.com: time out	-->
	<rule from="^https?://(?:\w+\.)?webassets\.scea\.com/"
		to="https://secure.webassets.scea.com/" />

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

	<rule from="^http://s(01\.esupport|tore)\.sony\.com/"
		to="https://s$1.sony.com/" />

	<rule from="^http://((?:account|www)\.)?sonyentertainmentnetwork\.com/"
		to="https://$1sonyentertainmentnetwork.com/" />

	<!--	- Cert: *.hs.llnwd.net
		- Shows blank page
					-->
	<rule from="^https?://cdn\.sonyentertainmentnetwork\.com/"
		to="https://www.sonyentertainmentnetwork.com/" />

</ruleset>