Unquote url

main
Bob Mottram 2023-01-18 10:06:24 +00:00
parent 398a97fcec
commit 9320f5bb76
1 changed files with 2 additions and 1 deletions

View File

@ -18715,7 +18715,8 @@ class PubServer(BaseHTTPRequestHandler):
hashtag_url = self.path.split('?remotetag=')[1]
if ';' in hashtag_url:
hashtag_url = hashtag_url.split(';')[0]
hashtag_url = hashtag_url.replace('--', '/')
hashtag_url = \
urllib.parse.unquote_plus(hashtag_url.replace('--', '/'))
page_number = 1
if ';page=' in self.path: