From e48f019d56f60756920a65e09d7e8123e8f865a7 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 19 Jun 2020 12:05:01 +0100 Subject: [PATCH] Set path on redirect --- daemon.py | 1 + 1 file changed, 1 insertion(+) diff --git a/daemon.py b/daemon.py index 67199849a..5ff123154 100644 --- a/daemon.py +++ b/daemon.py @@ -546,6 +546,7 @@ class PubServer(BaseHTTPRequestHandler): self.send_header('X-Robots-Tag', 'noindex') self.end_headers() if not httpRedirect: + self.Path = redirect.replace(callingDomain, '') self.do_GET() def _httpReturnCode(self, httpCode: int, httpDescription: str) -> None: