Don't encode

main
Bob Mottram 2021-07-12 09:48:14 +01:00
parent 3713e9943f
commit 4a0dd19475
1 changed files with 1 additions and 1 deletions

View File

@ -731,7 +731,7 @@ class PubServer(BaseHTTPRequestHandler):
self.send_header('Cookie', cookieStr) self.send_header('Cookie', cookieStr)
else: else:
self.send_header('Set-Cookie', cookieStr) self.send_header('Set-Cookie', cookieStr)
self.send_header('Location', redirect.encode('utf-8')) self.send_header('Location', redirect)
self.send_header('Host', callingDomain) self.send_header('Host', callingDomain)
self.send_header('InstanceID', self.server.instanceId) self.send_header('InstanceID', self.server.instanceId)
self.send_header('Content-Length', '0') self.send_header('Content-Length', '0')