mirror of https://gitlab.com/bashrc2/epicyon
Show blocked user agents
parent
746cc362e6
commit
af556dc134
|
@ -488,7 +488,8 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
return blockedUA
|
||||
if not agentDomain.startswith(callingDomain):
|
||||
blockedUA = isBlockedDomain(self.server.baseDir, agentDomain)
|
||||
if blockedUA and self.server.debug:
|
||||
# if self.server.debug:
|
||||
if blockedUA:
|
||||
print('Blocked User agent: ' + agentDomain)
|
||||
return blockedUA
|
||||
|
||||
|
|
Loading…
Reference in New Issue