<!--
	For other Microsoft coverage, see Microsoft.xml.


	Nonfunctional domains:

		- in *live.com:

			- explore ¹
			- idsignup ²
			- security ²
			- messenger.services
			- startup

		- www.wlmessenger.net

	¹ 404
	² Refused


	Problematic hosts in *live.com:

		- ^ (r)
		- onecare (t)
		- sc2.maps (m)
		- sc[34].maps (?)
		- home.services.spaces (m)

	m: certificate mismatch
	t: time out
	r: refused


	Fully covered hosts in *live.com:

		- (www.)?	(^ → www)
		- account
		- c
		- c-mid
		- calendar
		- choice

		- contacts
		- contacts-df
		- devices

		- *.directory:

			- people

		- domains
		- login.domains
		- favorites
		- g
		- groups
		- h
		- client.hip
		- home
		- hotmail
		- odc.officeapps
		- login
		- *.login
		- mail

		- *.mail:	([^.]+.[^.] → \2)

			- m
			- snt\d+
			- www

		- in *.maps:

			- mc1
			- sc1
			- sc[34]		(→ sc1.maps)

		- messenger

		- *.gateway.messenger:

			- baymsg\d+

		- oauth
		- office
		- c2rsetup.officeapps
		- onedrive
		- people
		- people-df
		- photos
		- postmaster
		- profile

		- *.profile:

			- cid-\w+

		- profile-df.live.com
		- profiles
		- rad

		- secure.shared

		- directory.services

		- signup
		- skydrive
		- skygfx
		- spaces
		- mobile.spaces
		- status
		- storage

		- *.storage:

			- blufiles
			- byfiles
			- dm1files
			- cid-\w+.users


	Insecure cookies are set for these domains and hosts:

		- .live.com
		- .h.live.com
		- login.live.com
		- .login.live.com
		- office.live.com
		- .office.live.com
		- postmaster.live.com


	Mixed content:

		- Bug on onedrive from c.microsoft.com *

	* Secured by us

-->
<ruleset name="Live.com">

	<!--	Direct rewrites:
				-->
	<target host="secure.shared.live.com" />
	<target host="account.live.com" />
	<target host="calendar.live.com" />
	<target host="c.live.com" />
	<target host="c-mid.live.com" />
	<target host="choice.live.com" />
	<target host="contacts.live.com" />
	<target host="contacts-df.live.com" />
	<target host="devices.live.com" />
	<target host="*.directory.live.com" />

	<target host="domains.live.com" />
	<target host="login.domains.live.com" />
	<target host="favorites.live.com" />
	<target host="g.live.com" />
	<target host="groups.live.com" />
	<target host="h.live.com" />

	<target host="client.hip.live.com" />

	<target host="home.live.com" />
	<target host="hotmail.live.com" />
	<target host="login.live.com" />
	<target host="*.login.live.com" />
	<target host="mail.live.com" />
	<target host="*.mail.live.com" />

	<target host="mc1.maps.live.com" />
	<target host="sc1.maps.live.com" />

	<target host="messenger.live.com" />
	<target host="*.gateway.messenger.live.com" />
	<target host="oauth.live.com" />
	<target host="office.live.com" />
	<target host="c2rsetup.officeapps.live.com" />
	<target host="odc.officeapps.live.com" />
	<target host="onedrive.live.com" />
	<target host="people.live.com" />
	<target host="people-df.live.com" />
	<target host="photos.live.com" />
	<target host="postmaster.live.com" />
	<target host="profile.live.com" />
	<target host="*.profile.live.com" />
	<target host="profile-df.live.com" />
	<target host="profiles.live.com" />
	<target host="rad.live.com" />

	<target host="directory.services.live.com" />

	<target host="signup.live.com" />
	<target host="skydrive.live.com" />
	<target host="skygfx.live.com" />
	<target host="spaces.live.com" />
	<target host="mobile.spaces.live.com" />

	<target host="*.storage.live.com" />
	<target host="www.live.com" />

	<!--	Complications:
				-->
	<target host="live.com" />
	<target host="sc3.maps.live.com" />
	<target host="sc4.maps.live.com" />

		<test url="http://secure.shared.live.com/" />


	<!--	Not secured by server:
					-->

	<!--securecookie host="^\.live\.com$" name="^(E|LD|MUID|RVC|wla\d+|xidseq)$" /-->
	<!--securecookie host="^\.h\.live\.com$" name="^SM$" /-->
	<!--securecookie host="^login\.live\.com$" name="^MSPRequ$" /-->
	<!--securecookie host="^\.login\.live\.com$" name="^MSPOK$" /-->
	<!--securecookie host="^office\.live\.com$" name="^BIGipCookie$" /-->
	<!--securecookie host="^\.office\.live\.com$" name="^AM3-ARRAffinity" /-->
	<!--securecookie host="^postmaster\.live\.com$" name="^ASP\.NET_SessionId$" /-->

	<!--	NB: Are cross-domain cookies needed on unsecurable pages?

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

	<!-- Don't include ^login.live.com in the securecookie. See https://github.com/EFForg/https-everywhere/issues/9691. -->
	<securecookie host="^\.?(?:account|people\.directory|(?:login\.)?domains|mail|messenger|postmaster|profile|signup)\.live\.com$" name=".+" />


	<rule from="^http://live\.com/"
		to="https://www.live.com/" />

	<rule from="^http://sc[34]\.maps\.live\.com/"
		to="https://sc1.maps.live.com/" />

	<rule from="^http:"
		to="https:" />

</ruleset>
