mirror of https://gitlab.com/bashrc2/epicyon
Unquote hashtag
parent
4227ab94de
commit
3f119d2e1f
|
@ -4930,6 +4930,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
hashtag = path.split('/tags/')[1]
|
hashtag = path.split('/tags/')[1]
|
||||||
if '?page=' in hashtag:
|
if '?page=' in hashtag:
|
||||||
hashtag = hashtag.split('?page=')[0]
|
hashtag = hashtag.split('?page=')[0]
|
||||||
|
hashtag = urllib.parse.unquote_plus(hashtag)
|
||||||
if isBlockedHashtag(baseDir, hashtag):
|
if isBlockedHashtag(baseDir, hashtag):
|
||||||
print('BLOCK: hashtag #' + hashtag)
|
print('BLOCK: hashtag #' + hashtag)
|
||||||
msg = htmlHashtagBlocked(self.server.cssCache, baseDir,
|
msg = htmlHashtagBlocked(self.server.cssCache, baseDir,
|
||||||
|
|
Loading…
Reference in New Issue