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

Commit d352ecb

Browse files
authored
Test data mismatch indymedia (#19136)
* Indymedia.xml: Drop old hosts and update rules * Remove Indymedia.xml from ruleset-whitelist.csv
1 parent c75ff55 commit d352ecb

File tree

2 files changed

+11
-44
lines changed

2 files changed

+11
-44
lines changed

src/chrome/content/rules/Indymedia.xml

Lines changed: 11 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -22,22 +22,27 @@
2222
- bristol Redirects to http
2323
- colorado ᵈ
2424
- cyprus ʳ
25+
- grenoble & www.grenoble
2526
- hu ¹
2627
- hungary ¹
2728
- istanbul ⁴
2829
- japan ᵃ
2930
- la ᵖ
3031
- lists ³
32+
- linksunten
3133
- liveradio ³
3234
- mexico ²
3335
- miami ²
3436
- neworleans ²
3537
- newsreal ²
38+
- nyc
3639
- piter ʳ
3740
- pittsburgh ʳ
3841
- portland ²
3942
- portugal ᵖ
43+
- pouget
4044
- print ʳ
45+
- publish
4146
- pt ᵖ
4247
- richmond ²
4348
- satellite ²
@@ -60,7 +65,7 @@
6065
- antwerpen ᵐ
6166
- barcelona ⁵
6267
- calabria ᵉ ᵘ
63-
- www.belgium ᵐ
68+
- www.belgium ¹
6469
- ch ²
6570
- chat ¹ ²
6671
- emiliaromagna ᵉ ᵘ
@@ -78,6 +83,7 @@
7883
- nottingham ² ⁶
7984
- perth ᵐ
8085
- piemonte ᵉ ᵘ ˣ
86+
- publish.nyc
8187
- publish.portland ¹ ⁶
8288
- roma ¹ ⁵
8389
- swizerland ²
@@ -134,57 +140,18 @@
134140
-->
135141
<target host="indymedia.org" />
136142
<target host="athens.indymedia.org" />
137-
<target host="belgium.indymedia.org" />
138143
<target host="brussels.indymedia.org" />
139144
<target host="bruxelles.indymedia.org" />
140145
<target host="bxl.indymedia.org" />
141146
<target host="de.indymedia.org" />
142-
<target host="grenoble.indymedia.org" />
143-
<target host="*.grenoble.indymedia.org" />
144147
<target host="lille.indymedia.org" />
145-
<target host="linksunten.indymedia.org" />
146-
<target host="www.linksunten.indymedia.org" />
147148
<target host="nantes.indymedia.org" />
148149
<target host="www.nantes.indymedia.org" />
149-
<target host="nyc.indymedia.org" />
150-
<target host="publish.nyc.indymedia.org" />
151-
<target host="www.nyc.indymedia.org" />
152-
<target host="pouget.indymedia.org" />
153-
<target host="publish.indymedia.org" />
154150
<target host="www.indymedia.org" />
155151

156-
<!-- includeSubdomains applies to one level only, so:
157-
-->
158-
<exclusion pattern="http://(?:[^./]+\.){2,}(?:belgium|brussels|bruxelles|bxl|grenoble|nantes)\.indymedia\.org/" />
159-
160-
<!-- +ve:
161-
-->
162-
<test url="http://this.host.belgium.indymedia.org/" />
163-
<test url="http://exists.not.belgium.indymedia.org/" />
164-
<test url="http://this.host.brussels.indymedia.org/" />
165-
<test url="http://exists.not.brussels.indymedia.org/" />
166-
<test url="http://this.host.bruxelles.indymedia.org/" />
167-
<test url="http://exists.not.bruxelles.indymedia.org/" />
168-
<test url="http://this.host.bxl.indymedia.org/" />
169-
<test url="http://exists.not.bxl.indymedia.org/" />
170-
<test url="http://this.host.grenoble.indymedia.org/" />
171-
<test url="http://exists.not.grenoble.indymedia.org/" />
172-
<test url="http://this.host.nantes.indymedia.org/" />
173-
<test url="http://exists.not.nantes.indymedia.org/" />
174-
175-
<!-- -ve:
176-
-->
177-
<test url="http://www.belgium.indymedia.org/" />
178-
<test url="http://www.grenoble.indymedia.org/" />
179-
<test url="http://www.nantes.indymedia.org/" />
180-
181-
<!-- Sets cookie without Secure:
182-
-->
183-
<test url="http://publish.nyc.indymedia.org/nyc/servlet/OpenMir" />
184-
<test url="http://publish.indymedia.org/earth/servlet/OpenMir" />
185-
186152
<!-- Complications:
187153
-->
154+
188155
<target host="netherlands.indymedia.org" />
189156

190157

@@ -198,9 +165,10 @@
198165

199166
<securecookie host="^\w" name=".+" />
200167

168+
<target host="belgium.indymedia.org" />
201169

202-
<rule from="^http://www\.belgium\.indymedia\.org/"
203-
to="https://belgium.indymedia.org/" />
170+
<rule from="^http://(?:www\.)?belgium\.indymedia\.org/"
171+
to="https://bxl.indymedia.org/" />
204172

205173
<rule from="^http://netherlands\.indymedia\.org/"
206174
to="https://www.indymedia.nl/" />

utils/ruleset-whitelist.csv

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,6 @@ d63109c1bda717546892ddf2e5b7b43230f77a743589f6003cf2eca75b704f87,1,1,Imperative_
992992
76196600f67cde4e2a5a69869eae23ded468e8c8ad6837e111b44ce8104cbff1,1,1,Indiegogo.xml
993993
8f065e04d6bf03937cb8af0c1e8ca08925d3ef8f1b1fb681688cc3d5983cd356,1,1,Induction_Solutions.com-falsemixed.xml
994994
0d4727dd514988748b9ce48c4b407c7b52ca4cf4aaca1d13f867067eae1de9a2,1,1,Induction_Solutions.com.xml
995-
6943e0bf9fc5a32b2be598a64a25b6a4d8ee059154c859dd15d2da7b3c9889cc,1,0,Indymedia.xml
996995
69f67c7a6a357cbe15b8e565e6d2afc6b8fc2ba6cd3cfd393c4491b3861fa503,1,1,Infinet.com.au-falsemixed.xml
997996
d885a05161cc68f32429419ba4b53b0936456a6743206734896c8345467193ef,1,0,Infinet.com.au.xml
998997
3c43448b0f0cb113e11bd417ce99292ae25d977fd5191687aed8be931bb3550e,0,1,Infinity_Tracking.xml

0 commit comments

Comments
 (0)