Unquote hashtag

merge-requests/8/head
Bob Mottram 2020-12-03 13:56:41 +00:00
parent c3ce17cb6b
commit 38376b61f4
1 changed files with 1 additions and 0 deletions

View File

@ -3000,6 +3000,7 @@ class PubServer(BaseHTTPRequestHandler):
self._404()
return
hashtag = usersPath.split('/tags/')[1].strip()
hashtag = urllib.parse.unquote_plus(hashtag)
if not hashtag:
# no hashtag was given in the path
self._404()