Explorar el Código

Mark PHP clients as bots

master
Matt Baer hace 6 años
padre
commit
e082f1e402
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. +1
    -0
      bots/bots.go

+ 1
- 0
bots/bots.go Ver fichero

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


Cargando…
Cancelar
Guardar