diff options
| author | Markus Heiser <markus.heiser@darmarit.de> | 2021-04-21 15:23:32 +0200 |
|---|---|---|
| committer | Markus Heiser <markus.heiser@darmarit.de> | 2021-04-22 11:47:16 +0200 |
| commit | 247c46c6b0c6e7f4fbbc4642bf288c51dcf20a33 (patch) | |
| tree | 552e8210ba47a3559e23946eeb2716a36bed0346 /searx/plugins/https_rules/Twitter.xml | |
| parent | c6d5605d272c963b075bf17eba7407d0a700cd2a (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/Twitter.xml')
| -rw-r--r-- | searx/plugins/https_rules/Twitter.xml | 169 |
1 files changed, 0 insertions, 169 deletions
diff --git a/searx/plugins/https_rules/Twitter.xml b/searx/plugins/https_rules/Twitter.xml deleted file mode 100644 index 3285f44e0..000000000 --- a/searx/plugins/https_rules/Twitter.xml +++ /dev/null @@ -1,169 +0,0 @@ -<!-- - Other Twitter rulesets: - - - Twitter_Community.com.xml - - - Nonfunctional domains: - - - status.twitter.com * - - status.twitter.jp * - - * Tumblr - - - CDN buckets: - - - a1095.g.akamai.net/=/1095/134446/1d/platform.twitter.com/ | platform2.twitter.com.edgesuite.net - - - platform2.twitter.com - - - twitter-any.s3.amazonaws.com - - twitter-blog.s3.amazonaws.com - - - d2rdfnizen5apl.cloudfront.net - - - s.twimg.com - - - ssl2.twitter.com.edgekey.net - - twitter.github.com - - - Problematic domains: - - - twimg.com subdomains: - - - a5 * - - s (cloudfront) - - - twitter.com subdomains: - - - platform[0-3] (403, akamai) - - * akamai - - - Fully covered domains: - - - (www.)t.co (www → ^) - - - twimg.com subdomains: - - - a[5-9] (→ si0) - - a\d - - abs - - dnt - - ea - - g - - g2 - - gu - - hca - - jp - - ma - - ma[0123] - - o - - p - - pbs - - r - - s (→ d2rdfnizen5apl.cloudfront.net) - - si[0-5] - - syndication - - cdn.syndication - - tailfeather - - ton - - v - - widgets - - - twitter.com subdomains: - - - (www.) - - 201[012] - - about - - ads - - analytics - - api - - cdn.api - - urls.api - - blog - - business - - preview.cdn - - preview-dev.cdn - - preview-stage.cdn - - de - - dev - - en - - engineering - - es - - firefox - - fr - - it - - ja - - jp - - m - - media - - mobile - - music - - oauth - - p - - pic - - platform - - platform[0-3] (→ platform) - - widgets.platform - - search - - static - - support - - transparency - - upload - - - These altnames don't exist: - - - i3.twimg.com - - p-dev.twimg.com - - vmtc.twimg.com - - - cdn-dev.api.twitter.com - ---> -<ruleset name="Twitter"> - - <target host="t.co" /> - <target host="*.t.co" /> - <target host="*.twimg.com" /> - <target host="twitter.com" /> - <target host="*.twitter.com" /> - - - <!-- Secured by server: - --> - <!--securecookie host="^\.twitter\.com$" name="^_twitter_sess$" /--> - <!--securecookie host="^support\.twitter\.com$" name="^_help_center_session$" /--> - <!-- - Not secured by server: - --> - <!--securecookie host="^\.t\.co$" name="^muc$" /--> - <!--securecookie host="^\.twitter\.com$" name="^guest_id$" /--> - - <securecookie host="^\.t\.co$" name=".+" /> - <securecookie host="^(?:.*\.)?twitter\.com$" name=".+" /> - - - <rule from="^http://(?:www\.)?t\.co/" - to="https://t.co/" /> - - <rule from="^http://a[5-9]\.twimg\.com/" - to="https://si0.twimg.com/" /> - - <rule from="^http://(abs|a\d|dnt|ea|g[2u]?|hca|jp|ma\d?|o|p|pbs|r|si\d|(?:cdn\.)?syndication|tailfeather|ton|v|widgets)\.twimg\.com/" - to="https://$1.twimg.com/" /> - - <rule from="^http://s\.twimg\.com/" - to="https://d2rdfnizen5apl.cloudfront.net/" /> - - <rule from="^http://((?:201\d|about|ads|analytics|blog|(?:cdn\.|urls\.)?api|business|preview(?:-dev|-stage)?\.cdn|de|dev|engineering|en|es|firefox|fr|it|ja|jp|m|media|mobile|music|oauth|p|pic|platform|widgets\.platform|search|static|support|transparency|upload|www)\.)?twitter\.com/" - to="https://$1twitter.com/" /> - - <rule from="^http://platform\d\.twitter\.com/" - to="https://platform.twitter.com/" /> - -</ruleset> |