diff --git a/daemon.py b/daemon.py index ceae28a47..f89913012 100644 --- a/daemon.py +++ b/daemon.py @@ -793,7 +793,7 @@ class PubServer(BaseHTTPRequestHandler): # check for blocked domains so that they can be rejected early messageDomain = None if messageJson.get('actor'): - messageDomain = getDomainFromActor(messageJson['actor']) + messageDomain,messagePort = getDomainFromActor(messageJson['actor']) if isBlockedDomain(self.server.baseDir, messageDomain): print('POST from blocked domain ' + messageDomain) self._400()