From 3f119d2e1f47a1d30e959e7d37beaaab2745b01b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 25 Nov 2020 11:22:36 +0000 Subject: [PATCH] Unquote hashtag --- daemon.py | 1 + 1 file changed, 1 insertion(+) diff --git a/daemon.py b/daemon.py index b473c9812..156b4b9fe 100644 --- a/daemon.py +++ b/daemon.py @@ -4930,6 +4930,7 @@ class PubServer(BaseHTTPRequestHandler): hashtag = path.split('/tags/')[1] if '?page=' in hashtag: hashtag = hashtag.split('?page=')[0] + hashtag = urllib.parse.unquote_plus(hashtag) if isBlockedHashtag(baseDir, hashtag): print('BLOCK: hashtag #' + hashtag) msg = htmlHashtagBlocked(self.server.cssCache, baseDir,