From e082f1e4026c34b8e485343af1a19046297d4aff Mon Sep 17 00:00:00 2001 From: Matt Baer Date: Thu, 28 Sep 2017 17:19:51 -0400 Subject: [PATCH] Mark PHP clients as bots --- bots/bots.go | 1 + 1 file changed, 1 insertion(+) diff --git a/bots/bots.go b/bots/bots.go index 7b50986..ca21554 100644 --- a/bots/bots.go +++ b/bots/bots.go @@ -219,6 +219,7 @@ var bots = map[string]bool{ var botPrefixes = []string{ "http.rb/2.2.2 (Mastodon", + "PHP/", } // IsBot returns whether or not the provided User-Agent string is a known bot