Extra replacement

master
Bob Mottram 2019-08-21 17:45:36 +01:00
parent 739f3a2f56
commit 90db9261a9
1 changed files with 1 additions and 1 deletions

View File

@ -2400,7 +2400,7 @@ class PubServer(BaseHTTPRequestHandler):
searchStr=searchParams.split('searchtext=')[1] searchStr=searchParams.split('searchtext=')[1]
if '&' in searchStr: if '&' in searchStr:
searchStr=searchStr.split('&')[0] searchStr=searchStr.split('&')[0]
searchStr=searchStr.replace('+',' ').replace('%40','@').replace('%3A',':').replace('%23','#').strip() searchStr=searchStr.replace('+',' ').replace('%40','@').replace('%3A',':').replace('%23','#').replace('%2F','/').strip()
if self.server.debug: if self.server.debug:
print('searchStr: '+searchStr) print('searchStr: '+searchStr)
if searchForEmoji: if searchForEmoji: