mirror of https://gitlab.com/bashrc2/epicyon
Always permit local domain
parent
a4b14770e0
commit
b4a2fe24da
|
@ -84,6 +84,9 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
if not message.get(testParam):
|
if not message.get(testParam):
|
||||||
return False
|
return False
|
||||||
actor=message[testParam]
|
actor=message[testParam]
|
||||||
|
# always allow the local domain
|
||||||
|
if thisDomain in actor:
|
||||||
|
return True
|
||||||
permittedDomain=False
|
permittedDomain=False
|
||||||
for domain in federationList:
|
for domain in federationList:
|
||||||
if domain in actor:
|
if domain in actor:
|
||||||
|
|
Loading…
Reference in New Issue