From 2f0e743d5d78c2d0fafc96f3374f4ede62e62aba Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 17 Dec 2020 17:13:14 +0000 Subject: [PATCH] Append later to avoid + being unquoted --- daemon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon.py b/daemon.py index 247de28e..22a8ddd8 100644 --- a/daemon.py +++ b/daemon.py @@ -5582,8 +5582,8 @@ class PubServer(BaseHTTPRequestHandler): """ originPathStr = path.split('/newswirevote=')[0] dateStr = \ - path.split('/newswirevote=')[1].replace('T', ' ') + '+00:00' - dateStr = urllib.parse.unquote_plus(dateStr) + path.split('/newswirevote=')[1].replace('T', ' ') + dateStr = urllib.parse.unquote_plus(dateStr) + '+00:00' nickname = urllib.parse.unquote_plus(originPathStr.split('/users/')[1]) if '/' in nickname: nickname = nickname.split('/')[0]