summaryrefslogtreecommitdiff
path: root/searx/plugins/https_rules/Deviantart.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/Deviantart.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/Deviantart.xml')
-rw-r--r--searx/plugins/https_rules/Deviantart.xml53
1 files changed, 0 insertions, 53 deletions
diff --git a/searx/plugins/https_rules/Deviantart.xml b/searx/plugins/https_rules/Deviantart.xml
deleted file mode 100644
index 7830fc20f..000000000
--- a/searx/plugins/https_rules/Deviantart.xml
+++ /dev/null
@@ -1,53 +0,0 @@
-<!--
- For problematic rules, see Deviantart-mismatches.xml.
-
-
- Other deviantArt rulesets:
-
- - Sta.sh.xml
-
-
- ToDo: Find edgecast URL for /(fc|th)\d+.
-
-
- Mixed content:
-
- - Images on *.....com from e.deviantart.net *
-
- * Secured by us
-
--->
-<ruleset name="DeviantArt (pending)" default_off="site operator says not ready yet">
-
- <target host="deviantart.com" />
- <target host="*.deviantart.com" />
- <target host="deviantart.net" />
- <target host="*.deviantart.net" />
-
-
- <!-- Not secured by server:
- -->
- <!--securecookie host="^\.deviantart\.com$" name="^userinfo$" /-->
-
- <securecookie host="^\.deviantart\.com$" name=".*" />
-
-
- <!-- Redirects from com to net, but does so successfully by itself.
- -->
- <rule from="^http://([aei]|fc\d\d|s[ht]|th\d\d)\.deviantart\.(com|net)/"
- to="https://$1.deviantart.$2/" />
-
- <!-- This handles everything that isn't in the first rule.
- Namely, usernames, backend, fc, th, and (www.).
- These domains present a cert that is only
- valid for .com.
- Note that .net isn't used on DA, but.net does
- redirect to .com, and we shouldn't break what would
- otherwise work.
- Mustn't rewrite from https here, as doing so
- would conflict with the first rule.
- -->
- <rule from="^http://([^/:@\.]+\.)?deviantart\.(?:com|net)/"
- to="https://$1deviantart.com/" />
-
-</ruleset>