From 337a4d2dd9db42c104a68919838b7980666b2a16 Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Mon, 27 Jul 2020 13:06:56 +0200 Subject: [PATCH] [fix] rules.json: allow Firefox Android to add searx (#49) * [fix] rules.json: allow Firefox Android to add searx fix #48 * [fix] rules.json: allow Firefox Android whatever the values of Accept and Accept-Language are. --- rules.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/rules.json b/rules.json index 7eecf06..6cdd7ca 100644 --- a/rules.json +++ b/rules.json @@ -30,6 +30,15 @@ "name": "search request", "filters": ["Param:q", "Path=^(/|/search)$"], "subrules": [ + { + "name": "allow Firefox Android (issue #48)", + "filters": [ + "Param:q=^1$", + "Header:User-Agent=^MozacFetch/[0-9]{2,3}.[0-9].[0-9]+$" + ], + "stop": true, + "actions": [{"name": "log"}] + }, { "name": "robot agent forbidden", "limit": 0,