<!--
	For rules causing MCB, see 163.com-mixedcontent.xml.

	503:
		gamer.163.com
		zh.163.com

	Break redirect:
		baoxian.163.com		http -> www
		piao.163.com		https -> https://baoxian.163.com/

	Different http/https content:
		mail.163.com

	Expired:
		developer.163.com
		fm.163.com
		api.t.163.com

	Mixmatched:
		support.dun.163.com
		img.nie.163.com
		res.nie.163.com
		qiye.163.com
		sitemap.163.com

	Refused:
		corp.163.com
		gb.corp.163.com
		data.163.com
		digi.163.com
		e.163.com
		emarketing.163.com
		ent.163.com
		hr.game.163.com
		home.163.com
		men.163.com
		news.163.com
		pay.163.com
		sports.163.com
		tech.163.com
		v.163.com
		vhouse.163.com
		view.163.com
		yuehui.163.com

	Timeout:
		^					https://travis-ci.org/EFForg/https-everywhere/jobs/522370910#L639
		game.campus.163.com
		18.mail.163.com		https://travis-ci.org/EFForg/https-everywhere/jobs/522370910#L640
		pimg.163.com		https://travis-ci.org/EFForg/https-everywhere/jobs/522370910#L641
		yun.reg.163.com		https://travis-ci.org/EFForg/https-everywhere/jobs/420428803#L655
		chat.study.163.com	https://travis-ci.org/EFForg/https-everywhere/jobs/522379611#L653
-->
<ruleset name="163.com">
	<!-- Directly: -->
	<target host="www.163.com" />
	<target host="1.163.com" />
	<target host="3g.163.com" />
	<target host="888.163.com" />
	<target host="adgeo.163.com" />
	<target host="analytics.163.com" />
	<target host="auto.163.com" />
	<target host="caipiao.163.com" />
	<target host="cc.163.com" />
	<target host="mshare.cc.163.com" />
	<target host="dun.163.com" />
	<target host="cdn.easyread.163.com" />
	<target host="email.163.com" />
	<target host="email2.163.com" />
	<target host="fa.163.com" />
	<target host="fankui.163.com" />
	<target host="help.163.com" />
	<target host="iad.g.163.com" />
		<test url="http://iad.g.163.com/wa/ad" />
	<target host="rec.g.163.com" />
		<test url="http://rec.g.163.com/kaolaadclick/api/dsp/show.s" />
	<target host="game.163.com" />
	<target host="gm.163.com" />
		<target host="box.gm.163.com" />
		<target host="epay.gm.163.com" />
		<target host="gift.gm.163.com" />
		<target host="bw.gm.163.com" />
		<target host="dh2.gm.163.com" />
		<target host="dtws.gm.163.com" />
		<target host="ff.gm.163.com" />
		<target host="jl.gm.163.com" />
		<target host="lj.gm.163.com" />
		<target host="tianyu.gm.163.com" />
		<target host="tuji.gm.163.com" />
		<target host="tx3.gm.163.com" />
		<target host="wf.gm.163.com" />
		<target host="wh2.gm.163.com" />
		<target host="x3.gm.163.com" />
		<target host="xc.gm.163.com" />
		<target host="xqn.gm.163.com" />
		<target host="xy2.gm.163.com" />
		<target host="xy3.gm.163.com" />
		<target host="xyq.gm.163.com" />
		<target host="y3.gm.163.com" />
		<target host="zh.gm.163.com" />
		<target host="zmq.gm.163.com" />
	<target host="lady.163.com" />
	<target host="love.163.com" />
	<target host="m.163.com" />
	<target host="c.m.163.com" />
		<test url="http://c.m.163.com/news/a/C2ADQI8H0524ADMM.html" />
	<target host="mail.163.com" />
	<target host="dm.mail.163.com" />
	<target host="help.mail.163.com" />
	<target host="pstat.mail.163.com" />
	<target host="iplocator.mail.163.com" />
		<test url="http://iplocator.mail.163.com/iplocator?callback=fGetLocator" />
	<target host="msg.mail.163.com" />
	<target host="mima.163.com" />
	<target host="music.163.com" />
	<target host="www.qiye.163.com" />
	<target host="dl.reg.163.com" />
	<target host="hc.reg.163.com" />
	<target host="webzj.reg.163.com" />
	<!--target host="yun.reg.163.com" />
		<test url="http://yun.reg.163.com/cloud/versions/1.0.0/cloudstyle.css" /-->
	<target host="study.163.com" />
	<target host="trip.163.com" />
	<target host="vipmail.163.com" />
	<target host="you.163.com" />
	<target host="cps.you.163.com" />
	<target host="open.you.163.com" />
	<target host="m.you.163.com" />
	<target host="yuedu.163.com" />
	<target host="app.yuedu.163.com" />
	<target host="zhidao.163.com" />

	<!-- Complications: -->
	<target host="163.com" />

	<target host="open.163.com" />
		<test url="http://open.163.com/special/" />
		<!--	MCB by http://s2.open.126.net/ocb/css/style.css	-->
		<exclusion pattern="http://open\.163\.com/special/(\S+)" />
		<test url="http://open.163.com/special/opencourse/" />
		<test url="http://open.163.com/special/opencourse/cs50.html" />
		<test url="http://open.163.com/special/cuvocw/xiyoujijiedu.html" />

	<target host="reg.163.com" />
		<!--	Redirect to http:	-->
		<exclusion pattern="http://reg\.163\.com/update\.html$" />
		<test url="http://reg.163.com/update.html" />

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

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