mirror of https://gitlab.com/bashrc2/epicyon
Allow i2p domain as host
parent
c0b53f95cb
commit
7845d53408
|
@ -11613,6 +11613,13 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
print('GET domain blocked: ' + callingDomain)
|
print('GET domain blocked: ' + callingDomain)
|
||||||
self._400()
|
self._400()
|
||||||
return
|
return
|
||||||
|
elif self.server.i2pDomain:
|
||||||
|
if callingDomain != self.server.domain and \
|
||||||
|
callingDomain != self.server.domainFull and \
|
||||||
|
callingDomain != self.server.i2pDomain:
|
||||||
|
print('GET domain blocked: ' + callingDomain)
|
||||||
|
self._400()
|
||||||
|
return
|
||||||
else:
|
else:
|
||||||
if callingDomain != self.server.domain and \
|
if callingDomain != self.server.domain and \
|
||||||
callingDomain != self.server.domainFull:
|
callingDomain != self.server.domainFull:
|
||||||
|
|
Loading…
Reference in New Issue