diff --git a/cmd/anubis/botPolicies.json b/cmd/anubis/botPolicies.json index aad2e9e..0e33706 100644 --- a/cmd/anubis/botPolicies.json +++ b/cmd/anubis/botPolicies.json @@ -7,7 +7,7 @@ }, { "name": "googlebot", - "user_agent_regex": "\\+http\\:\\/\\/www\\.google\\.com/bot\\.html", + "user_agent_regex": "\\+http\\://www\\.google\\.com/bot\\.html", "action": "ALLOW", "remote_addresses": [ "2001:4860:4801:10::/64", @@ -271,7 +271,7 @@ }, { "name": "bingbot", - "user_agent_regex": "\\+http\\:\\/\\/www\\.bing\\.com/bingbot\\.htm", + "user_agent_regex": "\\+http\\://www\\.bing\\.com/bingbot\\.htm", "action": "ALLOW", "remote_addresses": [ "157.55.39.0/24", @@ -306,7 +306,7 @@ }, { "name": "qwantbot", - "user_agent_regex": "\\+https\\:\\/\\/help\\.qwant\\.com/bot/", + "user_agent_regex": "\\+https\\://help\\.qwant\\.com/bot/", "action": "ALLOW", "remote_addresses": [ "91.242.162.0/24" @@ -314,7 +314,7 @@ }, { "name": "kagibot", - "user_agent_regex": "\\+https\\:\\/\\/kagi\\.com/bot", + "user_agent_regex": "\\+https\\://kagi\\.com/bot", "action": "ALLOW", "remote_addresses": [ "216.18.205.234/32", @@ -345,7 +345,7 @@ }, { "name": "us-artificial-intelligence-scraper", - "user_agent_regex": "\\+https\\:\\/\\/github\\.com\\/US-Artificial-Intelligence\\/scraper", + "user_agent_regex": "\\+https\\://github\\.com/US-Artificial-Intelligence/scraper", "action": "DENY" }, { diff --git a/docs/docs/CHANGELOG.md b/docs/docs/CHANGELOG.md index 95b82e5..fc573d4 100644 --- a/docs/docs/CHANGELOG.md +++ b/docs/docs/CHANGELOG.md @@ -20,6 +20,7 @@ Livia sas Junius: Echo 2 - Remove default RSS reader rule as it may allow for a targeted attack against rails apps [#67](https://github.com/TecharoHQ/anubis/pull/67) - Whitelist MojeekBot in botPolicies [#47](https://github.com/TecharoHQ/anubis/issues/47) +- botPolicies regex has been cleaned up [#66](https://github.com/TecharoHQ/anubis/pull/66) ## v1.14.1