aboutsummaryrefslogtreecommitdiff
path: root/internal/test
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2025-04-02 20:03:28 -0400
committerGitHub <noreply@github.com>2025-04-03 00:03:28 +0000
commit21a9d77788653f30fef4f3b37e8163a833f1a5d9 (patch)
treea7a0efc6263c4af705a2f36556374d66387856ee /internal/test
parent266d8c0cc25f9d93ea7da87eb199bc87e41c653e (diff)
downloadanubis-21a9d77788653f30fef4f3b37e8163a833f1a5d9.tar.xz
anubis-21a9d77788653f30fef4f3b37e8163a833f1a5d9.zip
data/botPolicies: allow iMessage scraper by default (#178)
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'internal/test')
-rw-r--r--internal/test/playwright_test.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/test/playwright_test.go b/internal/test/playwright_test.go
index ae4022e..88368c7 100644
--- a/internal/test/playwright_test.go
+++ b/internal/test/playwright_test.go
@@ -64,6 +64,12 @@ var (
userAgent: "Mozilla/5.0 (compatible; Kagibot/1.0; +https://kagi.com/bot)",
},
{
+ name: "iMessageScraper",
+ action: actionAllow,
+ realIP: placeholderIP,
+ userAgent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/601.2.4 (KHTML, like Gecko) Version/9.0.1 Safari/601.2.4 facebookexternalhit/1.1 Facebot Twitterbot/1.0",
+ },
+ {
name: "unknownAgent",
action: actionAllow,
realIP: placeholderIP,