main
Bob Mottram 2020-04-16 19:51:44 +01:00
parent ecf886d3ed
commit 32fe09eda8
1 changed files with 1 additions and 0 deletions

View File

@ -795,6 +795,7 @@ class PubServer(BaseHTTPRequestHandler):
if messageJson.get('actor'):
messageDomain = getDomainFromActor(messageJson['actor'])
if isBlockedDomain(self.server.baseDir, messageDomain):
print('POST from blocked domain ' + messageDomain)
self._400()
self.server.POSTbusy = False
return 3