mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 15:56:07 -07:00
Better sanitization on templates and datatables output.
This commit is contained in:
parent
1157fda96c
commit
b0fa0d534e
7 changed files with 206 additions and 196 deletions
|
@ -41,7 +41,7 @@ def serve_template(templatename, **kwargs):
|
|||
interface_dir = os.path.join(str(plexpy.PROG_DIR), 'data/interfaces/')
|
||||
template_dir = os.path.join(str(interface_dir), plexpy.CONFIG.INTERFACE)
|
||||
|
||||
_hplookup = TemplateLookup(directories=[template_dir])
|
||||
_hplookup = TemplateLookup(directories=[template_dir], default_filters=['unicode', 'h'])
|
||||
|
||||
server_name = plexpy.CONFIG.PMS_NAME
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue