mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 07:46:07 -07:00
Escape double quotes in search query
This commit is contained in:
parent
a9316ebea1
commit
e9017a8342
6 changed files with 12 additions and 13 deletions
|
@ -1366,8 +1366,7 @@ class WebInterface(object):
|
|||
return json.dumps({'message': 'no data received'})
|
||||
|
||||
@cherrypy.expose
|
||||
def search(self, search_query=''):
|
||||
query = search_query.replace('"', '')
|
||||
def search(self, query=''):
|
||||
|
||||
return serve_template(templatename="search.html", title="Search", query=query)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue