Skip to content

Commit 7c49ac1

Browse files
BisalooJ0WI
authored andcommitted
Remove duplicated target gdata.youtube.com (EFForg#12539)
* Remove duplicated target gdata.youtube.com * [YouTube] Add test urls for gdata.youtube.com * [YouTube] Remove broken target (time out) * [YouTube] Remove broken target
1 parent 9b2f0da commit 7c49ac1

2 files changed

Lines changed: 6 additions & 10 deletions

File tree

src/chrome/content/rules/GoogleAPIs.xml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@
5858
- ssl
5959
- t\d
6060
61-
- gdata.youtube.com
62-
6361
6462
-->
6563
<ruleset name="Google APIs">
@@ -86,7 +84,6 @@
8684

8785
<target host="gstatic.com" />
8886
<target host="*.gstatic.com" />
89-
<target host="gdata.youtube.com" />
9087

9188
<!-- Captive portal detection redirects to this URL, and many captive
9289
portals break TLS, so exempt this redirect URL.
@@ -95,9 +92,6 @@
9592
<exclusion pattern="^http://www\.gstatic\.com/generate_204" />
9693
<test url="http://www.gstatic.com/generate_204" />
9794

98-
<exclusion pattern="^http://gdata\.youtube\.com/crossdomain\.xml" />
99-
<test url="http://gdata.youtube.com/crossdomain.xml" />
100-
10195
<!-- Breaks digitalattackmap.com, cf.
10296
https://trac.torproject.org/projects/tor/ticket/15154
10397
-->
@@ -153,6 +147,4 @@
153147
<test url="http://t2.gstatic.com/" />
154148
<test url="http://t3.gstatic.com/" />
155149

156-
<rule from="^http://gdata\.youtube\.com/"
157-
to="https://gdata.youtube.com/" />
158150
</ruleset>

src/chrome/content/rules/YouTube.xml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<!--
22
Time out over both http and https:
33
youtube.tn
4+
youtube.com.tn
5+
www.youtube.com.tn
46
57
Insecure cookies are set for these domains:
68
@@ -12,6 +14,8 @@
1214
<!-- Main domains -->
1315
<target host="youtube.com" />
1416
<target host="*.youtube.com" />
17+
<test url="http://gdata.youtube.com/" />
18+
<test url="http://gdata.youtube.com/crossdomain.xml" />
1519
<test url="http://m.youtube.com/feed/trending" />
1620
<test url="http://www.youtube.com/opensearch?locale=en_US" />
1721
<test url="http://www.youtube.com/yts/img/pixel-vfl3z5WfW.gif" />
@@ -214,8 +218,8 @@
214218
<target host="www.youtube.co.th"/>
215219
<!--target host="youtube.tn"/-->
216220
<target host="www.youtube.tn"/>
217-
<target host="youtube.com.tn"/>
218-
<target host="www.youtube.com.tn"/>
221+
<!--target host="youtube.com.tn"/-->
222+
<!--target host="www.youtube.com.tn"/-->
219223
<target host="youtube.com.tr"/>
220224
<target host="www.youtube.com.tr"/>
221225
<target host="youtube.com.tw"/>

0 commit comments

Comments
 (0)