Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.

Commit ece61ef

Browse files
authored
Update Baidu.xml (#19206)
* Update Baidu.xml
1 parent 088ea81 commit ece61ef

File tree

1 file changed

+25
-38
lines changed

1 file changed

+25
-38
lines changed

src/chrome/content/rules/Baidu.xml

Lines changed: 25 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
1010
500:
1111
adscdn.baidu.com
12+
pay.baidu.com
1213
1314
Equal to https hosts:
1415
financestatic.baidu.com => 8.baidu.com
@@ -18,49 +19,30 @@
1819
1920
dq.tieba.com => tieba.baidu.com
2021
21-
Expired:
22-
pcfaster.baidu.com
23-
2422
Handshake fails:
2523
en.browser.baidu.com
26-
qingting.baidu.com
2724
m.site.baidu.com
2825
sparksecurity.baidu.com
2926
3027
MCB:
3128
share.baidu.com
29+
shouji.baidu.com
3230
top.baidu.com
3331
34-
Mismatched:
35-
financestatic.baidu.com
32+
Redirect to http:
3633
ir.baidu.com
37-
msh.baidu.com
3834
musicdata.baidu.com
39-
list.video.baidu.com
40-
www.video.baidu.com
41-
zoo.baidu.com
42-
43-
Redirect to http:
44-
baishi.baidu.com
45-
pay.baidu.com
35+
research.baidu.com
4636
tieba.baidu.com some pages
47-
v.baidu.com part of them, like v.baidu.com/$
48-
video.baidu.com
37+
usa.baidu.com
38+
v.baidu.com https on v.baidu.com/$ but redirect to http on other pages
39+
video.baidu.com https on list pages, redirect to http on video play pages
4940
www.video.baidu.com
5041
list.video.baidu.com
5142
5243
Shows another domain:
53-
antivirus.baidu.com
54-
forum.antivirus.baidu.com
55-
cleaner.baidu.com
5644
downpack.baidu.com http://downpack.baidu.com/doctorthumb_AndroidPhone_1012469d.apk
5745
58-
Shows another page:
59-
research.baidu.com
60-
tvg.baidu.com (Shows default page)
61-
tvgame.baidu.com (Shows tvg)
62-
usa.baidu.com
63-
6446
Timeout:
6547
adm.baidu.com
6648
apistore.baidu.com
@@ -101,7 +83,6 @@
10183
r.baidu.com
10284
rj.baidu.com
10385
bdimg.share.baidu.com
104-
shouji.baidu.com
10586
siteapp.baidu.com
10687
m.siteapp.baidu.com
10788
t[012].baidu.com
@@ -116,22 +97,23 @@
11697
yuqing.baidu.com
11798
11899
Timeout on Tor and travis:
100+
bce.baidu.com https://travis-ci.org/github/EFForg/https-everywhere/jobs/681011123#L429
119101
cloud.baidu.com https://travis-ci.org/EFForg/https-everywhere/jobs/443982887#L662
120-
haoma.baidu.com
121-
himg.baidu.com Timeout on Tor
102+
flight.baidu.com https://travis-ci.org/github/EFForg/https-everywhere/jobs/681011123#L430
103+
mbd.baidu.com https://travis-ci.org/github/EFForg/https-everywhere/jobs/681011123#L432
122104
c.pcs.baidu.com https://travis-ci.org/EFForg/https-everywhere/jobs/446459580#L707
123105
shoujiweishi.baidu.com
124-
ss0.baidu.com
106+
ss0.baidu.com https://travis-ci.org/github/EFForg/https-everywhere/jobs/685629313#L430
107+
translate.baidu.com https://travis-ci.org/github/EFForg/https-everywhere/jobs/681011123#L434
125108
-->
126109
<ruleset name="Baidu (partial)">
127110
<!-- Direct rewrites: -->
128111
<target host="baidu.com" />
129112
<target host="www.baidu.com" />
130-
<target host="1.baidu.com" />
131113
<target host="8.baidu.com" />
132114
<target host="baifubao.baidu.com" />
133115
<target host="baike.baidu.com" />
134-
<target host="bce.baidu.com" />
116+
<target host="baishi.baidu.com" />
135117
<target host="login.bce.baidu.com" />
136118
<target host="cas.baidu.com" />
137119
<target host="ce.baidu.com" />
@@ -141,7 +123,6 @@
141123
<target host="eclick.baidu.com" />
142124
<test url="http://eclick.baidu.com/rs.jpg" />
143125
<target host="fanyi.baidu.com" />
144-
<target host="flight.baidu.com" />
145126
<target host="gaokao.baidu.com" />
146127
<target host="gate.baidu.com" />
147128
<target host="gsp0.baidu.com" />
@@ -153,8 +134,10 @@
153134
<target host="gss1.baidu.com" />
154135
<target host="gss2.baidu.com" />
155136
<target host="gss3.baidu.com" />
137+
<target host="haoma.baidu.com" />
156138
<target host="help.baidu.com" />
157139
<target host="hi.baidu.com" />
140+
<target host="himg.baidu.com" />
158141
<target host="hiphotos.baidu.com" />
159142
<target host="hm.baidu.com" />
160143
<test url="http://hm.baidu.com/h.js" />
@@ -181,7 +164,6 @@
181164
<target host="m13.baidu.com" />
182165
<target host="map.baidu.com" />
183166
<target host="api.map.baidu.com" />
184-
<target host="mbd.baidu.com" />
185167
<target host="muzhi.baidu.com" />
186168
<target host="news.baidu.com" />
187169
<target host="open2.baidu.com" />
@@ -191,11 +173,13 @@
191173
<target host="d.pcs.baidu.com" />
192174
<target host="pda.baidu.com" />
193175
<target host="qianbao.baidu.com" />
176+
<target host="qingting.baidu.com" />
194177
<target host="sp0.baidu.com" />
178+
<!--target host="ss0.baidu.com" /-->
179+
<!--test url="http://ss0.baidu.com/6ONWsjip0QIZ8tyhnq/it/u=741647934,3418479157&fm=173" /-->
195180
<target host="su.baidu.com" />
196181
<target host="tbmsg.baidu.com" />
197182
<target host="tousu.baidu.com" />
198-
<target host="translate.baidu.com" />
199183
<target host="trends.baidu.com" />
200184
<target host="wallet.baidu.com" />
201185
<target host="wap.baidu.com" />
@@ -223,12 +207,11 @@
223207
<test url="http://gimg.baidu.com/img/gs.gif" />
224208
<test url="http://img.baidu.com/hunter/alog/alog.min.js" />
225209

226-
<!-- Timeout on Tor
227210
<target host="tb.himg.baidu.com" />
228211
<rule from="^http://tb\.himg\.baidu\.com/"
229212
to="https://himg.baidu.com/" />
230213
<test url="http://tb.himg.baidu.com/sys/portrait/item/1a1a48725fe88ba5e58db3e88ba5e7a6bbd4a2" />
231-
-->
214+
232215
<target host="*.hiphotos.baidu.com" />
233216
<rule from="^http://\S+\.hiphotos\.baidu\.com/"
234217
to="https://hiphotos.baidu.com/" />
@@ -241,13 +224,17 @@
241224
to="https://developer.baidu.com/" />
242225

243226
<target host="tieba.baidu.com" />
244-
<exclusion pattern="^http://tieba\.baidu\.com/(?!mo/|mo_wowap_pb/)" />
227+
<exclusion pattern="^http://tieba\.baidu\.com/f/search/res" />
245228
<test url="http://tieba.baidu.com/mo/" />
246229
<test url="http://tieba.baidu.com/mo_wowap_pb/" />
247-
<!-- Redirect to http: -->
248230
<test url="http://tieba.baidu.com/acer" />
249231
<test url="http://tieba.baidu.com/firefox" />
250232
<test url="http://tieba.baidu.com/skype" />
233+
<!-- Redirect to http: -->
234+
<test url="http://tieba.baidu.com/f/search/res" />
235+
<test url="http://tieba.baidu.com/f/search/res?" />
236+
<test url="http://tieba.baidu.com/f/search/res?qw=fire" />
237+
<test url="http://tieba.baidu.com/f/search/res?qw=fox" />
251238

252239
<!-- Tieba mirrors and imgs -->
253240
<target host="c.tieba.baidu.com" />

0 commit comments

Comments
 (0)