소스 검색

Mark PHP clients as bots

master
Matt Baer 6 년 전
부모
커밋
e082f1e402
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. +1
    -0
      bots/bots.go

+ 1
- 0
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


불러오는 중...
취소
저장