From f86c7f461f3b7b9f3eefce27ac5c78c1b9daafed Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 16 Apr 2020 19:54:15 +0100 Subject: [PATCH] Include port --- daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()