mirror of https://gitlab.com/bashrc2/epicyon
Append later to avoid + being unquoted
parent
f2c5f7e3e3
commit
2f0e743d5d
|
@ -5582,8 +5582,8 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
"""
|
||||
originPathStr = path.split('/newswirevote=')[0]
|
||||
dateStr = \
|
||||
path.split('/newswirevote=')[1].replace('T', ' ') + '+00:00'
|
||||
dateStr = urllib.parse.unquote_plus(dateStr)
|
||||
path.split('/newswirevote=')[1].replace('T', ' ')
|
||||
dateStr = urllib.parse.unquote_plus(dateStr) + '+00:00'
|
||||
nickname = urllib.parse.unquote_plus(originPathStr.split('/users/')[1])
|
||||
if '/' in nickname:
|
||||
nickname = nickname.split('/')[0]
|
||||
|
|
Loading…
Reference in New Issue