summaryrefslogtreecommitdiff
path: root/searx/plugins/https_rules/Github.xml
blob: a9a3a1e53f2888b21185e10e9c4eb0c7911ee1fd (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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!--
	Other GitHub rulesets:

		- Github-Pages.xml
		- Guag.es.xml
		- Speaker_Deck.com.xml


	CDN buckets:

		- github-images.s3.amazonaws.com
		- github.global.ssl.fastly.net
		- a248.e.akamai.net/assets.github.com/
		- a248.e.akamai.net/camo.github.com/
		- s3.amazonaws.com/github/ | d24z2fz21y4fag.cloudfront.net
		- github.myshopify.com


	Fully covered domains:

		- github.com subdomains:

			- (www.)
			- assets\d+
			- assets-cdn
			- bounty
			- cloud
			- f.cloud
			- codeload
			- developer
			- eclipse
			- enterprise
			- gist
			- gist-assets
			- help
			- identicons
			- jobs
			- mac
			- mobile
			- nodeload
			- octodex
			- pages
			- raw
			- rg3
			- shop
			- status
			- support
			- training
			- try
			- wiki
			- windows

		- collector.githubapp.com

		- githubusercontent.com

-->
<ruleset name="GitHub">

	<target host="github.com" />
	<target host="*.github.com" />
	<target host="github.io" />
	<target host="*.githubusercontent.com" />
	<target host="collector.githubapp.com" />


	<!--	Secured by server:
					-->
	<!--securecookie host="^github\.com$" name="^(_gh_sess|tz|user_session)$" /-->
	<!--securecookie host="^\.github\.com$" name="^(dotcom_user|logged_in)$" /-->
	<!--securecookie host="^enterprise\.github\.com$" name="^(_enterprise_web|request_method)$" /-->
	<!--securecookie host="^gist\.github\.com$" name="^_gist_session$" /-->
	<!--securecookie host="^help\.github\.com$" name="^_help_session$" /-->
	<!--
		Not secured by server:
					-->
	<!--securecookie host="^status\.github\.com$" name="^rack\.session$" /-->

	<securecookie host="^(?:.*\.)?github\.com$" name=".+" />


	<rule from="^http://((?:assets\d+|assets-cdn|bounty|cloud|f\.cloud|codeload|developer|eclipse|enterprise|gist|gist-assets|help|identicons|jobs|mac|mobile|nodeload|octodex|pages|raw|rg3|shop|status|support|training|try|wiki|windows|www)\.)?github\.com/"
		to="https://$1github.com/" />

	<rule from="^http://collector\.githubapp\.com/"
		to="https://collector.githubapp.com/" />

	<rule from="^https?://github\.io/"
		to="https://pages.github.com/" />

	<rule from="^http://([^/@:\.]+)\.githubusercontent\.com/"
		to="https://$1.githubusercontent.com/" />

</ruleset>