mirror of https://gitlab.com/bashrc2/epicyon
Decode @
parent
3521511d7f
commit
627cc1bf94
|
@ -2187,7 +2187,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
moderation_text = None
|
||||
moderation_button = None
|
||||
# get the moderation text first
|
||||
print('moderation_params: ' + str(moderation_params))
|
||||
moderation_params = moderation_params.replace('%40', '@')
|
||||
for moderation_str in moderation_params.split('&'):
|
||||
if moderation_str.startswith('moderationAction'):
|
||||
if '=' in moderation_str:
|
||||
|
@ -2196,7 +2196,6 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
mod_text = moderation_text.replace('+', ' ')
|
||||
moderation_text = \
|
||||
urllib.parse.unquote_plus(mod_text.strip())
|
||||
print('moderation_text: ' + str(moderation_text))
|
||||
# which button was pressed?
|
||||
for moderation_str in moderation_params.split('&'):
|
||||
if moderation_str.startswith('submitInfo'):
|
||||
|
|
Loading…
Reference in New Issue