Mark PHP clients as bots

This commit is contained in:
Matt Baer
2017-09-28 17:19:51 -04:00
parent b80eea5454
commit e082f1e402
+1
View File
@@ -219,6 +219,7 @@ var bots = map[string]bool{
var botPrefixes = []string{ var botPrefixes = []string{
"http.rb/2.2.2 (Mastodon", "http.rb/2.2.2 (Mastodon",
"PHP/",
} }
// IsBot returns whether or not the provided User-Agent string is a known bot // IsBot returns whether or not the provided User-Agent string is a known bot