Remove character

main
Bob Mottram 2020-01-30 20:28:25 +00:00
parent ecef571e6f
commit dafbcf08a1
1 changed files with 1 additions and 1 deletions

View File

@ -4494,7 +4494,7 @@ class PubServer(BaseHTTPRequestHandler):
length = int(self.headers['Content-length']) length = int(self.headers['Content-length'])
questionParams=self.rfile.read(length).decode('utf-8') questionParams=self.rfile.read(length).decode('utf-8')
questionParams= \ questionParams= \
questionParams.replace('+',' ').replace('%40','@').replace('%3A',':').replace('%23','#').replace('%2F','/').strip() questionParams.replace('+',' ').replace('%40','@').replace('%3A',':').replace('%23','#').replace('%2F','/').replace('%3F','').strip()
# post being voted on # post being voted on
messageId=None messageId=None
if 'messageId=' in questionParams: if 'messageId=' in questionParams: