<!--
	NB: Hosts may^Wwill take a long time to respond!

	Fetch tests will probably receive corrupted packets and resets also.

	For rules causing false/broken or valid MCB, see Taobao.com-mixedcontent.xml.

	Other Taobao rulesets:
		- Taobao_CDN.com.xml
		- TbCDN.cn.xml

	CDN buckets:
		- img.taobaocdn.com.danuoyi.tbcache.com
		- img0[1-8].taobaocdn.com.danuoyi.tbcache.com
			- taurus0[1-4].danuoyi.tbcache.com

	Nonfunctional domains:
		- taobao.com subdomains:
			- f.ai *
			- amp *
			- b *
			- bangpai	(Redirects to http)
			- baobei *
			- trace.cps *
			- cu		(Redirects to http)
			- daigou *
			- design *
			- dingyue *
			- display *
			- dmp		Dropped
			- fws *
			- hitao		(Redirects to http)
			- i56 *
			- isvsupport *
			- learn *
			- leye *
			- love		(Redirects to http)
			- wenda		(Redirects to http)
			- m subdomains:
				- a *
				- caipiao *
				- im	(Redirects to error page)
				- info	(404)
				- ju *
				- mz *
				- rj *
				- s *
				- tm	(redirects to error page, valid cert)
				- wtm *
				- yyz	(redirects to error page, valid cert)
			- maimai *
			- miiee		(Redirects to http)
			- bbs.nanren *
			- my.open *
			- pics		(503; self-signed, CN: dynamic.12306.cn)
			- pro		(Redirects to http)
			- quanzi *
			- shuju *
			- home.shuju	(shows s.tbcdn.cn; mismatched, CN: s.tbcdn.cn)
			- shuo *
			- shuyuan	Redirects to http
			- taocode *
			- seller.taojinbi *
			- tese			(Redirects to http)
			- tianxia		(Redurects to http)
			- static.tianxia	(Redirects to http)
			- trip subdomains:
				- jipiao *
				- tuan		(shows s.tbcdn.cn; mismatched, CN: s.tbcdn.cn)
				- zhaoshang	(shows s.tbcdn.cn; mismatched, CN: s.tbcdn.cn)
			- cloud.video *
			- vodcdn.video	(refused)
			- wao *
			- wap		(redirects to error page; mismatched, CN: *.m.taobao.com)
			- img2012.i0[234].wimg	(refused)
			- q.i0[1-4].wimg	(refused)
			- xiaobao *
			- xianhao *
			- yiqi		(Shows guang.taobao.com)
			- you *
			- zhitongche *
			- zuanshi *
		- img2.tbcdn.com	(503; self-signed, CN: dynamic.12306.cn)
	* Dropped

	Problematic hosts in *taobao.com:
		- global ¹
		- jipiao ³
		- jump ³
		- logo ³
		- support ⁴
		- to ³
		- trust ²	be fixed by Upgrade:https://github.com/EFForg/https-everywhere/issues/8506
		- tsu ³
		- tw ³
		- world ³
		- act.yun ³
	* Mixed css
	¹ Redirects to http
	² Mixed css
	³ Mismatched
	⁴ https://support.taobao.com/ use https://assets.taobaocdn.com , which is mismatched.
	See Taobao_CDN.com.xml for the rule of assets.taobaocdn.com

	HTTP request to this server failed
		md.taobao.com
		wan.taobao.com

	Insecure cookies are set for these domains and hosts:
		- .taobao.com
		- bgt.taobao.com
		- caipiao.taobao.com
		- .ju.taobao.com
		- mm.taobao.com
		- re.taobao.com
		- .reg.taobao.com
		- .simba.taobao.com
		- temai.taobao.com

	Mixed content:
		- css, on:
			- trust from a.tbcdn.cn *
		- Images, on:
			- pinkong.bbs, md, yingxiao, from gtms0\d.alicdn.com *
			- pinkong.bbs from img.alicdn.com *
			- chuangye.bbs, pinkong.bbs, daohang, dingyue, jiadian, rule, trust, ur, www from img0\d.taobaocdn.com *
			- daohang from img.tongji.linezing.com ²
			- md, rule, trust, www, zhiyuanzhe from a.tbcdn.cn *
			- u.m from mbuf.alipay.com *
			- u.m from pin.aliyun.com *
			- ur from img.china.alibaba.com *
			- yun from m.alicdn.com *
		- Ads on etuoguan from player.youku.com ²
	* Secured by us
	² Unsecurable <= refused
-->
<ruleset name="Taobao.com (partial)">
	<!--	Direct rewrites:	-->
	<target host="taobao.com" />
	<target host="101.taobao.com" />
	<target host="2.taobao.com" />
	<target host="sell.2.taobao.com" />
	<target host="trade.2.taobao.com" />
	<target host="s.2.taobao.com" />
	<target host="315.taobao.com" />
	<target host="3c.taobao.com" />
	<target host="a.taobao.com" />
	<target host="acg.taobao.com" />
	<target host="ai.taobao.com" />
	<target host="aitao.taobao.com" />
	<target host="amos.taobao.com" />
	<target host="api.taobao.com" />
	<target host="api-taojinbi.taobao.com" />
	<target host="auction1.taobao.com" />
	<target host="baichuan.taobao.com" />
	<target host="bang.taobao.com" />
	<target host="baobao.taobao.com" />
	<target host="bbs.taobao.com" />
	<target host="chuangye.bbs.taobao.com" />
	<target host="pinkong.bbs.taobao.com" />
	<target host="beauty.taobao.com" />
	<target host="caipiao.taobao.com" />
	<target host="cart.taobao.com" />
	<target host="chi.taobao.com" />
	<target host="china.taobao.com" />
	<target host="cgfang.taobao.com" />
	<target host="s.click.taobao.com" />
	<target host="daohang.taobao.com" />
	<target host="dating.taobao.com" />
	<target host="daxue.taobao.com" />
	<target host="i.daxue.taobao.com" />
	<target host="dingyue.taobao.com" />
	<target host="dongtai.taobao.com" />
	<target host="ecrm.taobao.com" />
	<target host="etuoguan.taobao.com" />
	<target host="e56.taobao.com" />
	<target host="ershou.taobao.com" />
	<target host="err.taobao.com" />
	<target host="fang.taobao.com" />
	<target host="fashion.taobao.com" />
	<target host="fenxiao.taobao.com" />
	<target host="favorite.taobao.com" />
	<target host="form.taobao.com" />
	<target host="forum.taobao.com" />
	<target host="fuwu.taobao.com" />
	<target host="i.fuwu.taobao.com" />
	<target host="g.taobao.com" />
	<target host="gan.taobao.com" />
	<target host="bgt.taobao.com" />
	<target host="game.taobao.com" />
	<target host="guang.taobao.com" />
	<target host="gwywx.taobao.com" />
	<target host="h5.taobao.com" />
	<target host="hk.taobao.com" />
	<target host="hunban.taobao.com" />
	<target host="i.taobao.com" />
	<target host="interface.im.taobao.com" />
		<test url="http://interface.im.taobao.com/api/roaming/taobaocdn/1484637939/c3b691ef6f65a4fcbb15229dfde4c201.jpg" />
	<target host="ishop.taobao.com" />
	<target host="it.taobao.com" />
	<target host="item.taobao.com" />
	<target host="jiadian.taobao.com" />
	<target host="jianghu.tmall.com" />
	<target host="ju.taobao.com" />
	<target host="act.ju.taobao.com" />
	<target host="freeway.ju.taobao.com" />
	<target host="i.ju.taobao.com" />
	<target host="o.ju.taobao.com" />
	<target host="seller.ju.taobao.com" />
	<target host="kan.taobao.com" />
	<target host="lady.taobao.com" />
	<target host="lu.taobao.com" />
	<target host="life.taobao.com" />
	<target host="1.life.taobao.com" />
	<target host="list.taobao.com" />
	<target host="login.taobao.com" />
	<target host="m.taobao.com" />
	<target host="fav.m.taobao.com" />
	<target host="h5.m.taobao.com" />
	<target host="login.m.taobao.com" />
	<target host="mo.m.taobao.com" />
		<test url="http://mo.m.taobao.com/etao/pc_search_hotwords" />
	<target host="my.m.taobao.com" />
	<target host="shop.m.taobao.com" />
	<target host="trip.m.taobao.com" />
	<target host="triph5.m.taobao.com" />
	<target host="u.m.taobao.com" />
	<target host="m-a-g.taobao.com" />
	<target host="mai.taobao.com" />
	<target host="mall.taobao.com" />
	<target host="meirong.taobao.com" />
	<target host="meiyantang.taobao.com" />
	<target host="member1.taobao.com" />
	<target host="mj.taobao.com" />
	<target host="mm.taobao.com" />
	<target host="my.taobao.com" />
	<target host="nanren.taobao.com" />
	<target host="nanxie.taobao.com" />
	<target host="nanzhuang.taobao.com" />
	<target host="neiyi.taobao.com" />
	<target host="notice.taobao.com" />
	<target host="nvbao.taobao.com" />
	<target host="nvxie.taobao.com" />
	<target host="nvzhuang.taobao.com" />
	<target host="ny.taobao.com" />
	<target host="nz.taobao.com" />
	<target host="open.taobao.com" />
	<target host="paimai.taobao.com" />
	<target host="pan.taobao.com" />
	<target host="passport.taobao.com" />
	<target host="pay.taobao.com" />
	<target host="peijian.taobao.com" />
	<target host="pinkong.taobao.com" />
	<target host="qiang.taobao.com" />
	<target host="qianggou.taobao.com" />
	<target host="rate.taobao.com" />
	<target host="re.taobao.com" />
	<target host="mosaic.re.taobao.com" />
	<target host="reg.taobao.com" />
	<target host="ruanko.taobao.com" />
	<target host="rule.taobao.com" />
	<target host="s.taobao.com" />
	<target host="s-paimai.taobao.com" />
	<target host="search1.taobao.com" />
	<target host="sec.taobao.com" />
	<target host="sell.taobao.com" />
	<target host="seller-taojinbi.taobao.com" />
	<target host="sellerhelp.taobao.com" />
	<target host="service.taobao.com" />
	<target host="sf.taobao.com" />
	<target host="shoucang.taobao.com" />
	<target host="click.simba.taobao.com" />
	<target host="click.mz.simba.taobao.com" />
	<target host="srd.simba.taobao.com" />
	<target host="spu.taobao.com" />
	<target host="store.taobao.com" />
	<target host="style.taobao.com" />
	<!--target host="support.taobao.com" /-->
	<target host="sy.taobao.com" />
	<target host="taojinbi.taobao.com" />
	<target host="tejia.taobao.com" />
	<target host="temai.taobao.com" />
	<target host="top.taobao.com" />
	<target host="tp.taobao.com" />
	<!--	encoding error
	target host="trade.taobao.com" /-->
	<target host="trip.taobao.com" />
	<!--target host="trust.taobao.com" /-->
	<target host="try.taobao.com" />
	<target host="ugc.taobao.com" />
	<target host="upload.taobao.com" />
	<target host="ur.taobao.com" />
	<target host="usabags.taobao.com" />
	<target host="uz.taobao.com" />
	<target host="wangpu.taobao.com" />
	<target host="we.taobao.com" />
	<target host="weike.taobao.com" />
	<target host="weitao.taobao.com" />
	<!--target host="wenda.taobao.com" /-->
	<target host="whlove.taobao.com" />
	<target host="work.taobao.com" />
	<target host="wuliu.taobao.com" />
	<target host="wt.taobao.com" />
	<target host="www.taobao.com" />
	<target host="xiangqing.taobao.com" />
	<target host="xue.taobao.com" />
	<target host="yingxiao.taobao.com" />
	<target host="yun.taobao.com" />
	<target host="zc-paimai.taobao.com" />
	<target host="zhi.taobao.com" />
	<target host="zhiyuanzhe.taobao.com" />
	<target host="zhonggongyc.taobao.com" />
	<target host="zhoumo.taobao.com" />
	<target host="zj.taobao.com" />

	<!--	Complications:	-->
	<target host="global.taobao.com" />
	<rule from="^http://global\.taobao\.com/"
		to="https://g.taobao.com/" />

	<target host="logo.taobao.com" />
	<rule from="^http://logo\.taobao\.com/"
		to="https://img.alicdn.com/" />

	<securecookie host="^\.taobao\.com$" name="^ali_ab$" />
	<securecookie host="^(?:bgt|caipiao|\.login\.m|mm|re|mosaic\.re|temai)\.taobao\.com$" name=".+" />

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