From bdda8c9bf476044a6d35e84b58844c0b0d245bc2 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 12 Jul 2021 10:19:53 +0100 Subject: [PATCH] Quoted redirects --- daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon.py b/daemon.py index ef5c3b4b5..21d54b407 100644 --- a/daemon.py +++ b/daemon.py @@ -713,7 +713,7 @@ class PubServer(BaseHTTPRequestHandler): return True return False - def _quotedRedirect(redirect: str) -> str: + def _quotedRedirect(self, redirect: str) -> str: """URL encodes any non-ascii characters for url redirects """ if '/' not in redirect: