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/Flickr.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/Flickr.xml')
| -rw-r--r-- | searx/plugins/https_rules/Flickr.xml | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/searx/plugins/https_rules/Flickr.xml b/searx/plugins/https_rules/Flickr.xml deleted file mode 100644 index 85c6e8065..000000000 --- a/searx/plugins/https_rules/Flickr.xml +++ /dev/null @@ -1,44 +0,0 @@ -<!-- - For other Yahoo coverage, see Yahoo.xml. - - - These altnames don't exist: - - - www.blog.flickr.net - - www.code.flickr.net - ---> -<ruleset name="Flickr"> - - <target host="flic.kr" /> - <target host="*.flic.kr" /> - <target host="flickr.com" /> - <target host="*.flickr.com" /> - <target host="*.flickr.net" /> - <target host="*.staticflickr.com" /> - - - <!-- Not secured by server: - --> - <!--securecookie host="^\.flic\.kr$" name="^BX$" /--> - - <securecookie host="^\.flic\.kr$" name=".+" /> - <securecookie host=".*\.flickr\.com$" name=".+" /> - - - <rule from="^http://flic\.kr/" - to="https://flic.kr/" /> - - <rule from="^http://(api\.|www\.)?flickr\.com/" - to="https://$1flickr.com/" /> - - <rule from="^http://s(ecure|tatic)\.flickr\.com/" - to="https://s$1.flickr.com/" /> - - <rule from="^http://(c2|farm\d+)\.static(\.)?flickr\.com/" - to="https://$1.static$2flickr.com/" /> - - <rule from="^http://(blog|code)\.flickr\.net/" - to="https://$1.flickr.net/" /> - -</ruleset> |