mirror of https://gitlab.com/bashrc2/epicyon
Debug
parent
aa8550faec
commit
c91e58aae9
|
@ -1144,9 +1144,11 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
return False
|
return False
|
||||||
if not referer_domain:
|
if not referer_domain:
|
||||||
if not debug and not self.server.unit_test:
|
if not debug and not self.server.unit_test:
|
||||||
|
print('nodeinfo request has no referer domain ' + ua_str)
|
||||||
self._400()
|
self._400()
|
||||||
return True
|
return True
|
||||||
if referer_domain == self.server.domain_full:
|
if referer_domain == self.server.domain_full:
|
||||||
|
print('nodeinfo request from self')
|
||||||
self._400()
|
self._400()
|
||||||
return True
|
return True
|
||||||
if self.server.nodeinfo_is_active:
|
if self.server.nodeinfo_is_active:
|
||||||
|
|
Loading…
Reference in New Issue