Get handle

main
Bob Mottram 2020-12-09 23:01:12 +00:00
parent ef87a23079
commit 6e6c4f19bc
1 changed files with 7 additions and 2 deletions

View File

@ -1441,8 +1441,13 @@ class PubServer(BaseHTTPRequestHandler):
moderationText = \
urllib.parse.unquote_plus(modText.strip())
elif moderationStr.startswith('submitInfo'):
searchHandle = \
urllib.parse.unquote_plus(moderationStr.strip())
searchHandle = None
if '=' in moderationStr:
moderationText = \
moderationStr.split('=')[1].strip()
modText = moderationText.replace('+', ' ')
searchHandle = \
urllib.parse.unquote_plus(modText.strip())
if searchHandle:
if '@' not in searchHandle:
searchHandle = None