<!--
	No Problem rules : JD.com.xml
-->

<ruleset name="JD.com-Problematic">

	<!--	myjd.crm.jd.com mismatch but equal to myjd-crm.jd.com	-->

	<target host="myjd.crm.jd.com" />
	<rule from="^http://myjd\.crm\.jd\.com/"
		to="https://myjd-crm.jd.com/" />
		<test url="http://myjd.crm.jd.com/misc/img/loading.gif" />
	
	<!--	Try to fix check error : Too many redirects:	-->

	<target host="jd.com" />
	<target host="www.jd.com" />
	<rule from="^http://(www\.)?jd\.com/"
		to="https://www.jd.com/" />
		<test url="http://jd.com/allSort.aspx" />
		<test url="http://www.jd.com/allSort.aspx" />

	<target host="channel.jd.com" />
	<exclusion pattern="^http://channel.jd.com/$" />
	<rule from="^http://channel\.jd\.com/(.+)\.html"
		to="https://channel.jd.com/$1.html" />
		<test url="http://channel.jd.com/fashion.html" />
		<test url="http://channel.jd.com/electronic.htmlv" />

	<target host="acsten.jd.com" />
	<exclusion pattern="^http://acsten.jd.com/$" />
	<rule from="^http://acsten\.jd\.com/"
		to="https://acsten.jd.com/" />
		<test url="http://acsten.jd.com/" />
		<test url="http://acsten.jd.com/static/brands/puppyoo/en/bg_521_01.jpg" />

	<target host="authcode.jd.com" />
	<exclusion pattern="^http://authcode.jd.com/$" />
	<rule from="^http://authcode\.jd\.com/verify/image"
		to="https://authcode.jd.com/verify/image" />
		<test url="http://authcode.jd.com/verify/image?a=1&amp;acid=46e37f33-c280-410f-822e-3295caae06fd&amp;uid=46e37f33-c280-410f-822e-3295caae06fd&amp;yys=1425883312677" />

	<target host="c-nfa.jd.com" />
	<exclusion pattern="^http://c-nfa.jd.com/$" />
	<rule from="^http://c-nfa\.jd\.com/.+&amp;url=//(.+)/"
		to="https://$1/" />
		<test url="http://c-nfa.jd.com/adclick?keyStr=z5AXFoIimt1jiDK32+w4mfTFZtF1YOC+opB7Ao37jUjDSR4ZkhdprAyoH1hPJzIvYIvzFrd2TCsHa9MPtmJJ38/q5Qih+7c1BDeh8zmM5DtHWmoByPeXmwN+vPPmAue8nPRVaxDTMvb4FGTgPthakqmhEn5VjYb//IDriB1m2VsGNejglATI3rYKcJNNinLWO8kB+sSzSS0dWVpqx287jLMnQRjLX8LeruC5DQu2wwDKXBn/4XyfZBkqZDvr0dRqsYAhmxRmBoISpVNFyZRXL4a+892nOos/0aSRnf6vbMmf9HLeDipRHAKm4vcfN+U1KKFU6qVYkYEbrR18iEkgIA==&amp;cv=2.0&amp;url=//sale.jd.com/act/o1Yagd0IiDNGc.html" />
		<test url="http://c-nfa.jd.com/adclick?keyStr=z5AXFoIimt1jiDK32+w4mT1nRnpFpAizF+5WhO0AHkwztMovE9R5AVbwwls8hQ5kPIi3cMEhhoV6ooyGp0aJkRpamRD4zxoXfKU1fYn2dDNa4eG9P+LQ+i7XDdn0nvJzLUHKRy5AMBHgXaliXNh0TR/99MUGL/DAI9QQrj/aPDO+rjt+wmNBqathelSaHUsWvi3DP9vR6BVkUfiEtycMxl/Qae9xh2e/T9YWCueIsatyVMmKJ+LujoLlfkmAfmKTYpUboR8ciyR5H4ne31buZoYjevjHNvGqTDM3fonDawQ=&amp;cv=2.0&amp;url=//zbird.jd.com/" />
		<test url="http://c-nfa.jd.com/adclick?keyStr=6PQwtwh0f06syGHwQVvRO5ztV98xI1kb04VWxj27qyHhTr8/YivtDmYW6ZcIZV4BhtMfyzQy3d2vyFSlAb5kvHrWjH42RUbxLhwOK41QshZHWmoByPeXmwN+vPPmAue8mmUBBv3jNBcx2P/iDtTmlnWDS2AWBitvTotLMyrh0gWj/QmG6Hzf2c4HDr/5L48+9tBUiEEIuYKGXbq9vzM2Lqy/C1Kvp7QdX/NpCflYIjVCh34pjEI9yMOFfVGi4Ym9ZZfyyAExFGwJ/7N9isOCE/th/T/WZaFB38TA49bffI3pjvqkRSOdaFeco1V1km9VcJnJ8/i4ypiBDe/7mST+Nw7Yv1DRlzva1IPuVpLUl/CoIYJKTBYHRRkT9yWbX5d8&amp;cv=2.0&amp;url=//search.jd.hk/Search?keyword=%E7%A2%A7%E7%84%B6%E5%BE%B7&amp;enc=utf-" />

	<target host="ccc.jd.com" />
	<exclusion pattern="^http://ccc.jd.com/$" />
	<rule from="^http://ccc\.jd\.com/"
		to="https://ccc.jd.com/" />
		<test url="http://ccc.jd.com/" />
		<test url="http://ccc.jd.com/cookie_check" />

	<target host="item.jd.com" />
	<exclusion pattern="^http://item.jd.com/$" />
	<rule from="^http://item\.jd\.com/(.+)\.html"
		to="https://item.jd.com/$1.html" />
		<test url="http://item.jd.com/849719.html" />
		<test url="http://item.jd.com/1856588.html" />

	<target host="list.jd.com" />
	<exclusion pattern="^http://list.jd.com/$" />
	<rule from="^http://list\.jd\.com/(\d+)-(\d+)-(\d+)\.html"
		to="https://list.jd.com/list.html?cat=$1,$2,$3" />
		<test url="http://list.jd.com/652-654-831.html" />
		<test url="http://list.jd.com/670-671-672.html" />
		<test url="http://list.jd.com/670-671-1105.html" />
		<test url="http://list.jd.com/670-677-679.html" />
	<rule from="^http://list\.jd\.com/list\.html\?cat="
		to="https://list.jd.com/list.html" />
		<test url="http://list.jd.com/list.html?cat=652,654,831" />
		<test url="http://list.jd.com/list.html?cat=670,671,672" />

	<target host="passport.jd.com" />
	<exclusion pattern="^http://passport.jd.com/$" />
	<rule from="^http://passport\.jd\.com/(relay|new|paipai|uc)/"
		to="https://passport.jd.com/$1/" />
	<test url="http://passport.jd.com/relay/loginRelay.htm" />
	<test url="http://passport.jd.com/new/login.aspx" />
	<test url="http://passport.jd.com/paipai/login?token=cd78e4a78a25b0b5b0e34dd2be9661d3ac6ca47b2d76d87890d4297b07f7ff35a7993cec1bb6fdef5907b3390fd75812" />
	<test url="http://passport.jd.com/uc/login" />

	<target host="sale.jd.com" />
	<exclusion pattern="^http://sale.jd.com/$" />
	<rule from="^http://sale\.jd\.com/(act|app\/act|m\/act|wq\/act|mall)/(\w+)\.html"
		to="https://sale.jd.com/$1/$2.html" />
		<test url="http://sale.jd.com/act/2jXYua5KQMmci.html" />
		<test url="http://sale.jd.com/act/AcTvhYHdpLOI.html" />
		<test url="http://sale.jd.com/app/act/4KgIHXnAepzE5.html" />
		<test url="http://sale.jd.com/m/act/L1Y2V6ERZePab4.html" />
		<test url="http://sale.jd.com/wq/act/AoasEIgDXM.html" />
		<test url="http://sale.jd.com/mall/2Gl1cBViAsHo.html" />

</ruleset>
