Added Curl, Mattermost, PHP, okhttp, Synapse and newspaper as bot
criteria detection in user agent.
This commit is contained in:
parent
19292bddf2
commit
6eaff00f81
1 changed files with 2 additions and 1 deletions
|
@ -189,7 +189,8 @@ public class HttpAccessLog
|
||||||
{
|
{
|
||||||
result = true;
|
result = true;
|
||||||
}
|
}
|
||||||
else if (StringUtils.startsWithAny(this.userAgent.toString(), "Apache-HttpClient/", "git/", "github-camo", "http.rb/", "Go-http-client", "GoModuleMirror/", "HotJava/", "Java/", "JGit/"))
|
else if (StringUtils.startsWithAny(this.userAgent.toString(), "Apache-HttpClient/", "curl/", "git/", "github-camo", "http.rb/", "Go-http-client", "GoModuleMirror/", "HotJava/", "Java/",
|
||||||
|
"JGit/", "mattermost-", "newspaper/", "okhttp/", "PHP/", "Synapse/"))
|
||||||
{
|
{
|
||||||
result = true;
|
result = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue