mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Content server: Fix search query not being fully sanitized in results page
Fixes #1205385 [Private bug](https://bugs.launchpad.net/calibre/+bug/1205385)
This commit is contained in:
parent
c32dc18eb1
commit
0ca5ffc49f
@ -291,7 +291,7 @@ class BrowseServer(object):
|
||||
lp = force_unicode(lp, filesystem_encoding)
|
||||
ans = ans.replace('{library_name}', xml(os.path.basename(lp)))
|
||||
ans = ans.replace('{library_path}', xml(lp, True))
|
||||
ans = ans.replace('{initial_search}', initial_search)
|
||||
ans = ans.replace('{initial_search}', xml(initial_search, attribute=True))
|
||||
return ans
|
||||
|
||||
@property
|
||||
|
Loading…
x
Reference in New Issue
Block a user