Escape templates

This commit is contained in:
dave 2017-05-28 19:02:14 -07:00
parent 1bb2abc4ef
commit f40c5ab11d
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ class ISOserver(object):
def _load_templates(self):
with open("./main.html") as template_f:
self.template = Environment().from_string(template_f.read())
self.template = Environment(autoescape=True).from_string(template_f.read())
samples = os.listdir("samples")
self.samples = {}