mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
02b53231b9
commit
3030ddcd50
|
@ -467,11 +467,11 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
else:
|
else:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
blockedUA = False
|
|
||||||
if not agentDomain:
|
if not agentDomain:
|
||||||
if self.server.userAgentDomainRequired:
|
if self.server.userAgentDomainRequired:
|
||||||
return True
|
return True
|
||||||
return blockedUA
|
return False
|
||||||
|
blockedUA = False
|
||||||
if not agentDomain.startswith(callingDomain):
|
if not agentDomain.startswith(callingDomain):
|
||||||
blockedUA = isBlockedDomain(self.server.baseDir, agentDomain)
|
blockedUA = isBlockedDomain(self.server.baseDir, agentDomain)
|
||||||
# if self.server.debug:
|
# if self.server.debug:
|
||||||
|
|
Loading…
Reference in New Issue