mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-11-05 04:02:21 +00:00
Encode redirects
This commit is contained in:
1 parent
7511af13d0
commit
3713e9943f
1 file changed
+1
-1
@@ -731,7 +731,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||
self.send_header('Cookie', cookieStr)
|
||||
else:
|
||||
self.send_header('Set-Cookie', cookieStr)
|
||||
self.send_header('Location', redirect)
|
||||
self.send_header('Location', redirect.encode('utf-8'))
|
||||
self.send_header('Host', callingDomain)
|
||||
self.send_header('InstanceID', self.server.instanceId)
|
||||
self.send_header('Content-Length', '0')
|
||||
|
||||
Reference in new issue
Block a user