summaryrefslogtreecommitdiff
path: root/searx/https_rules/GoogleTranslate.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/GoogleTranslate.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/GoogleTranslate.xml')
-rw-r--r--searx/https_rules/GoogleTranslate.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/searx/https_rules/GoogleTranslate.xml b/searx/https_rules/GoogleTranslate.xml
new file mode 100644
index 000000000..a004025ae
--- /dev/null
+++ b/searx/https_rules/GoogleTranslate.xml
@@ -0,0 +1,8 @@
+<ruleset name="Google Translate (broken)" default_off="redirect loops">
+ <target host="translate.googleapis.com" />
+ <target host="translate.google.com" />
+
+ <rule from="^http://translate\.googleapis\.com/" to="https://translate.googleapis.com/"/>
+ <rule from="^http://translate\.google\.com/"
+ to="https://translate.google.com/" />
+</ruleset>