From 83698f5c2c9f04922cb7f93906917d2e80e9f5c8 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 16 Aug 2019 09:47:04 +0100 Subject: [PATCH] Try original host --- daemon.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/daemon.py b/daemon.py index 97977fc20..2d27c0575 100644 --- a/daemon.py +++ b/daemon.py @@ -394,12 +394,12 @@ class PubServer(BaseHTTPRequestHandler): # Convert the headers needed for signature verification to dict headersDict={} headersDict['host']=self.headers['host'] - if messageJson.get('actor'): - actorDomain,actorPort=getDomainFromActor(messageJson['actor']) - if actorPort: - if actorPort!=80 and actorPort!=443: - actorDomain=actorDomain+':'+str(actorPort) - headersDict['host']=actorDomain + #if messageJson.get('actor'): + # actorDomain,actorPort=getDomainFromActor(messageJson['actor']) + # if actorPort: + # if actorPort!=80 and actorPort!=443: + # actorDomain=actorDomain+':'+str(actorPort) + # headersDict['host']=actorDomain headersDict['signature']=self.headers['signature'] if self.headers.get('Date'): headersDict['Date']=self.headers['Date']