mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-10-31 01:51:15 +00:00
Unquote patameters
This commit is contained in:
1 parent
396556f6e9
commit
fba9b10b09
1 file changed
+2
-1
@@ -5583,7 +5583,8 @@ class PubServer(BaseHTTPRequestHandler):
|
||||
originPathStr = path.split('/newswirevote=')[0]
|
||||
dateStr = \
|
||||
path.split('/newswirevote=')[1].replace('T', ' ') + '+00:00'
|
||||
nickname = originPathStr.split('/users/')[1]
|
||||
dateStr = urllib.parse.unquote_plus(dateStr)
|
||||
nickname = urllib.parse.unquote_plus(originPathStr.split('/users/')[1])
|
||||
if '/' in nickname:
|
||||
nickname = nickname.split('/')[0]
|
||||
if newswire.get(dateStr):
|
||||
|
||||
Reference in new issue
Block a user