summaryrefslogtreecommitdiff
path: root/searx/https_rules/DuckDuckGo.xml
diff options
context:
space:
mode:
authorThomas Pointhuber <thomas.pointhuber@gmx.at>2014-10-15 14:52:27 +0200
committerThomas Pointhuber <thomas.pointhuber@gmx.at>2014-10-15 14:52:27 +0200
commit1e3e6465845236b027ce8df9ab5fcc78ffe3f1d1 (patch)
tree69822d7c6dbe32174db3451596729ab756af0e60 /searx/https_rules/DuckDuckGo.xml
parentbb126da0fb49d1c9640eeb3371d0bbcf005bcd2b (diff)
import basic https rules from https-everywhere repository
* licenced under GPLv3+ * downloaded from https://github.com/EFForg/https-everywhere
Diffstat (limited to 'searx/https_rules/DuckDuckGo.xml')
-rw-r--r--searx/https_rules/DuckDuckGo.xml38
1 files changed, 38 insertions, 0 deletions
diff --git a/searx/https_rules/DuckDuckGo.xml b/searx/https_rules/DuckDuckGo.xml
new file mode 100644
index 000000000..173a9ad9f
--- /dev/null
+++ b/searx/https_rules/DuckDuckGo.xml
@@ -0,0 +1,38 @@
+<!--
+ Problematic domains:
+
+ - www.dukgo.com (mismatched, CN: dukgo.com)
+
+
+ Fully covered domains:
+
+ - (www.)dukgo.com (www → ^)
+
+-->
+<ruleset name="DuckDuckGo">
+ <target host="duckduckgo.com" />
+ <target host="*.duckduckgo.com" />
+ <target host="ddg.gg" />
+ <target host="duck.co" />
+ <target host="i.duck.co" />
+ <target host="dukgo.com" />
+ <target host="www.dukgo.com" />
+
+ <exclusion pattern="^http://(help|meme)\.duckduckgo\.com/" />
+
+ <securecookie host="^duck\.co$" name=".*"/>
+
+ <rule from="^http://duckduckgo\.com/" to="https://duckduckgo.com/"/>
+ <rule from="^http://([^/:@\.]+)\.duckduckgo\.com/" to="https://$1.duckduckgo.com/"/>
+ <!-- TODO: What does ddg.gg/foo do? Runs query foo, redirects to homepage, or error? -->
+ <rule from="^http://ddg\.gg/$" to="https://duckduckgo.com/" />
+
+ <rule from="^http://duck\.co/" to="https://duck.co/" />
+
+ <rule from="^http://i\.duck\.co/"
+ to="https://duckduckgo.com/"/>
+
+ <rule from="^http://(?:www\.)?dukgo\.com/"
+ to="https://dukgo.com/" />
+
+</ruleset>