aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2025-03-22 11:27:16 -0400
committerGitHub <noreply@github.com>2025-03-22 11:27:16 -0400
commitefe648f2afe9e5e5e67093f78be90b8051fd0fe9 (patch)
tree58bc6fd03da81101746eedcf2f605f42232086d2
parent44efcea781a6231fec02df9091110b63eb98465c (diff)
downloadanubis-efe648f2afe9e5e5e67093f78be90b8051fd0fe9.tar.xz
anubis-efe648f2afe9e5e5e67093f78be90b8051fd0fe9.zip
Apply suggestions from code reviewXe/hyper-galaxy-brain
Signed-off-by: Xe Iaso <me@xeiaso.net>
-rw-r--r--cmd/anubis/botPolicies.json2
-rw-r--r--docs/docs/CHANGELOG.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd/anubis/botPolicies.json b/cmd/anubis/botPolicies.json
index 3976f20..e797b05 100644
--- a/cmd/anubis/botPolicies.json
+++ b/cmd/anubis/botPolicies.json
@@ -390,7 +390,7 @@
},
{
"name": "generic-browser",
- "user_agent_regex": "(?i:gecko|applewebkit)",
+ "user_agent_regex": "(?i:gecko)",
"action": "CHALLENGE"
}
],
diff --git a/docs/docs/CHANGELOG.md b/docs/docs/CHANGELOG.md
index 53c1e3a..29f2cd8 100644
--- a/docs/docs/CHANGELOG.md
+++ b/docs/docs/CHANGELOG.md
@@ -12,7 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
- Fixed and clarified installation instructions
-- Changed default challenge logic for "Gecko" or "AppleWebkit" in the User-Agent string
+- Changed default challenge logic for "Gecko" in the User-Agent string
instead of "Mozilla" [#78](https://github.com/TecharoHQ/anubis/pull/78)
## v1.14.2