Browse Source

Mark PHP clients as bots

master
Matt Baer 6 years ago
parent
commit
e082f1e402
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      bots/bots.go

+ 1
- 0
bots/bots.go View File

@@ -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


Loading…
Cancel
Save