summaryrefslogtreecommitdiff
path: root/searx/plugins/https_rules/Github.xml
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2021-04-21 15:23:32 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2021-04-22 11:47:16 +0200
commit247c46c6b0c6e7f4fbbc4642bf288c51dcf20a33 (patch)
tree552e8210ba47a3559e23946eeb2716a36bed0346 /searx/plugins/https_rules/Github.xml
parentc6d5605d272c963b075bf17eba7407d0a700cd2a (diff)
[drop] plugin HTTPS rewrite - rule base is to old (update is to big)
The usefulness of the _HTTPS rewrite_ plugin is questionable: - the 36 rule files have not been updated since 2015 [1] - actual there are 23760 rule files in the https-everywhere repo [2] For the first, we can remove this plugin. For a complete new implementation, it might be good to know that there is a project "https-everywhere : Privacy for Pythons" [3] related: https://github.com/return42/searx-next/issues/8 [1] https://github.com/return42/searx-next/tree/d187a1d/searx/plugins/https_rules [2] https://github.com/EFForg/https-everywhere/tree/master/src/chrome/content/rules [3] https://github.com/jayvdb/https-everywhere-py Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/plugins/https_rules/Github.xml')
-rw-r--r--searx/plugins/https_rules/Github.xml94
1 files changed, 0 insertions, 94 deletions
diff --git a/searx/plugins/https_rules/Github.xml b/searx/plugins/https_rules/Github.xml
deleted file mode 100644
index a9a3a1e53..000000000
--- a/searx/plugins/https_rules/Github.xml
+++ /dev/null
@@ -1,94 +0,0 @@
-<!--
- 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>