mirror of https://gitlab.com/bashrc2/epicyon
Unquote the hashtag
parent
413b60c9e3
commit
1749cbe1a9
|
@ -18716,7 +18716,6 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
if ';' in hashtag_url:
|
if ';' in hashtag_url:
|
||||||
hashtag_url = hashtag_url.split(';')[0]
|
hashtag_url = hashtag_url.split(';')[0]
|
||||||
hashtag_url = hashtag_url.replace('--', '/')
|
hashtag_url = hashtag_url.replace('--', '/')
|
||||||
hashtag_url = urllib.parse.unquote_plus(hashtag_url)
|
|
||||||
|
|
||||||
page_number = 1
|
page_number = 1
|
||||||
if ';page=' in self.path:
|
if ';page=' in self.path:
|
||||||
|
|
|
@ -1082,7 +1082,7 @@ def html_hashtag_search_remote(nickname: str, domain: str, port: int,
|
||||||
debug: bool, buy_sites: {}) -> str:
|
debug: bool, buy_sites: {}) -> str:
|
||||||
"""Show a page containing search results for a remote hashtag
|
"""Show a page containing search results for a remote hashtag
|
||||||
"""
|
"""
|
||||||
hashtag = hashtag_url.split('/')[-1]
|
hashtag = urllib.parse.unquote(hashtag_url.split('/')[-1])
|
||||||
|
|
||||||
profile_str = 'https://www.w3.org/ns/activitystreams'
|
profile_str = 'https://www.w3.org/ns/activitystreams'
|
||||||
as_header = {
|
as_header = {
|
||||||
|
|
Loading…
Reference in New Issue