Skip to content

Commit 7c246b7

Browse files
authored
Merge pull request EFForg#5617 from renyouguo/patch-160
Create dianping.com.xml
2 parents 731d7d4 + 9ce24f5 commit 7c246b7

File tree

2 files changed

+90
-0
lines changed

2 files changed

+90
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<!--
2+
3+
Related: dpfile.com.xml
4+
5+
Mismatch:
6+
^
7+
android
8+
blog ( redirect to weibo.com/dzdp )
9+
campus
10+
careers
11+
dpindex
12+
jh
13+
join
14+
maoyan
15+
tpl
16+
17+
^dpurl.cn
18+
19+
MCB:
20+
www
21+
-->
22+
23+
<ruleset name="dianping.com (partial)">
24+
25+
<target host="b.dianping.com" />
26+
<target host="e.dianping.com" />
27+
<target host="events.dianping.com" />
28+
<target host="hls.dianping.com" />
29+
<target host="kf.dianping.com" />
30+
<target host="m.dianping.com" />
31+
<target host="nugget.dianping.com" />
32+
<target host="s.dianping.com" />
33+
<target host="t.dianping.com" />
34+
35+
<rule from="^http:" to="https:" />
36+
37+
</ruleset>
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
<!--
2+
3+
Related: dianping.com.xml
4+
5+
Mismatch:
6+
^dpfile.com
7+
8+
(i|j|m|si|t)\d+.(s(1|3).)?dpfile.com (They are equal to each others. However, i2 and \w+.s2 have https.)
9+
10+
No exist:
11+
(m|si)\d+.dpfile.com
12+
-->
13+
14+
<ruleset name="dpfile.com">
15+
16+
<target host="qcloud.dpfile.com" />
17+
<target host="www.dpfile.com" />
18+
19+
<rule from="^http://(qcloud|www)\.dpfile\.com/" to="https://$1.dpfile.com/" />
20+
<test url="http://qcloud.dpfile.com/pc/xgj785KvGaskMqMkEijIVI3qV67QyBeWSmzHlLUmvqAW2o0Pn5aTguX_PQEudt5rtOnd3gXQdDYlAqlaVaAFeZ0rYYyiRo_EhzufqWWjTjs.jpg" />
21+
<test url="http://www.dpfile.com/sc/image/31010502000052.png" />
22+
23+
<target host="*.dpfile.com" />
24+
25+
<rule from="^http://(i|j|m|si|t)(\d+)\.(s1\.|s2\.|s3\.)?dpfile\.com/" to="https://i2.dpfile.com/" />
26+
<exclusion pattern="^http://m\d+\.dpfile\.com/" />
27+
<exclusion pattern="^http://si\d+\.dpfile\.com/" />
28+
29+
<test url="http://i1.dpfile.com/s/res/gongshang.73ce6165acedcdd46fa558bcf59aa974.gif" />
30+
<test url="http://j1.dpfile.com/s/res/gongshang.73ce6165acedcdd46fa558bcf59aa974.gif" />
31+
<test url="http://m1.dpfile.com/s/res/gongshang.73ce6165acedcdd46fa558bcf59aa974.gif" />
32+
<test url="http://si1.dpfile.com/s/res/gongshang.73ce6165acedcdd46fa558bcf59aa974.gif" />
33+
<test url="http://t1.dpfile.com/s/res/gongshang.73ce6165acedcdd46fa558bcf59aa974.gif" />
34+
35+
<test url="http://i1.s1.dpfile.com/s/res/gongshang.73ce6165acedcdd46fa558bcf59aa974.gif" />
36+
<test url="http://j1.s1.dpfile.com/s/res/gongshang.73ce6165acedcdd46fa558bcf59aa974.gif" />
37+
<test url="http://m1.s1.dpfile.com/s/res/gongshang.73ce6165acedcdd46fa558bcf59aa974.gif" />
38+
<test url="http://si1.s1.dpfile.com/s/res/gongshang.73ce6165acedcdd46fa558bcf59aa974.gif" />
39+
<test url="http://t1.s1.dpfile.com/s/res/gongshang.73ce6165acedcdd46fa558bcf59aa974.gif" />
40+
41+
<test url="http://i1.s2.dpfile.com/s/res/gongshang.73ce6165acedcdd46fa558bcf59aa974.gif" />
42+
<test url="http://j1.s2.dpfile.com/s/res/gongshang.73ce6165acedcdd46fa558bcf59aa974.gif" />
43+
<test url="http://m1.s2.dpfile.com/s/res/gongshang.73ce6165acedcdd46fa558bcf59aa974.gif" />
44+
<test url="http://si1.s2.dpfile.com/s/res/gongshang.73ce6165acedcdd46fa558bcf59aa974.gif" />
45+
<test url="http://t1.s2.dpfile.com/s/res/gongshang.73ce6165acedcdd46fa558bcf59aa974.gif" />
46+
47+
<test url="http://i1.s3.dpfile.com/s/res/gongshang.73ce6165acedcdd46fa558bcf59aa974.gif" />
48+
<test url="http://j1.s3.dpfile.com/s/res/gongshang.73ce6165acedcdd46fa558bcf59aa974.gif" />
49+
<test url="http://m1.s3.dpfile.com/s/res/gongshang.73ce6165acedcdd46fa558bcf59aa974.gif" />
50+
<test url="http://si1.s3.dpfile.com/s/res/gongshang.73ce6165acedcdd46fa558bcf59aa974.gif" />
51+
<test url="http://t1.s3.dpfile.com/s/res/gongshang.73ce6165acedcdd46fa558bcf59aa974.gif" />
52+
53+
</ruleset>

0 commit comments

Comments
 (0)