Este sítio funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Iniciar sessão
writeas
/
web-core
espelho de
https://github.com/writeas/web-core
Vigiar
1
Marcar como favorito
0
Derivar
0
Código
Questões
0
Lançamentos
0
Trabalho
Ver a proveniência
Mark PHP clients as bots
master
Matt Baer
há 6 anos
ascendente
b80eea5454
cometimento
e082f1e402
1 ficheiros alterados
com
1 adições
e
0 eliminações
Visualização em 2 colunas
Opções das diferenças
Mostrar estatísticas
Descarregar ficheiro patch
Descarregar ficheiro diff
+1
-0
bots/bots.go
+ 1
- 0
bots/bots.go
Ver ficheiro
@@ -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
Escrever
Pré-visualizar
Carregando…
Cancelar
Guardar