From efe648f2afe9e5e5e67093f78be90b8051fd0fe9 Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Sat, 22 Mar 2025 11:27:16 -0400 Subject: [PATCH] Apply suggestions from code review Signed-off-by: Xe Iaso --- cmd/anubis/botPolicies.json | 2 +- docs/docs/CHANGELOG.md | 2 +- 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