summaryrefslogtreecommitdiff
path: root/searx/plugins/https_rules/Vimeo.xml
blob: f2a3e57648f367f584f935f9fb0375b124bf5bc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!--
	CDN buckets:

		- av.vimeo.com.edgesuite.net

			- a808.g.akamai.net

		- pdl.vimeocdn.com.edgesuite.net

			- a1189.g.akamai.net


	Problematic subdomains:

		- av	(pdl.../crossdomain.xml restricts to port 80)
		- pdl	(works, akamai)


	Partially covered subdomains:

		- developer	(some pages redirect to http)
		- pdl		(→ akamai)


	Fully covered subdomains:

		- (www.)
		- secure


Default off per https://trac.torproject.org/projects/tor/ticket/7569 -->
<ruleset name="Vimeo (default off)" default_off="breaks some video embedding">

	<target host="vimeo.com" />
	<target host="*.vimeo.com" />
		<exclusion pattern="^http://av\.vimeo\.com/crossdomain\.xml" />
		<!--exclusion pattern="^http://developer\.vimeo\.com/($|\?|(apps|guidelines|help|player)($|[?/]))" /-->
		<exclusion pattern="^http://developer\.vimeo\.com/(?!apis(?:$|[?/])|favicon\.ico)" />
	<target host="*.vimeocdn.com" />
		<!--
			Uses crossdomain.xml from s3.amazonaws.com, which sets secure="false"

				https://mail1.eff.org/pipermail/https-everywhere/2012-October/001583.html
			-->
		<exclusion pattern="^http://a\.vimeocdn\.com/p/flash/moogaloop/" />

		<!--	We cannot secure streams because crossdomain.xml
			restricts to port 80 :(
						-->
		<exclusion pattern="^http://pdl\.vimeocdn\.com/(?!crossdomain\.xml)" />


	<!--	Tracking cookies:
					-->
	<securecookie host="^\.(?:player\.)?vimeo\.com$" name="^__utm\w$" />


	<rule from="^http://((?:developer|player|secure|www)\.)?vimeo\.com/"
		to="https://$1vimeo.com/" />

	<rule from="^http://av\.vimeo\.com/"
		to="https://a248.e.akamai.net/f/808/9207/8m/av.vimeo.com/" />

	<!--	a & b: Akamai	-->
	<rule from="^http://(?:secure-)?([ab])\.vimeocdn\.com/"
		to="https://secure-$1.vimeocdn.com/" />

	<rule from="^http://i\.vimeocdn\.com/"
		to="https://i.vimeocdn.com/" />

	<rule from="^http://pdl\.vimeocdn\.com/"
		to="https://a248.e.akamai.net/f/1189/4415/8d/pdl.vimeocdn.com/" />

</ruleset>