From e7538856459950e79a5628f0fee0a226233b98b4 Mon Sep 17 00:00:00 2001 From: Pavel Loginov Date: Wed, 26 Feb 2020 19:37:31 +0100 Subject: [PATCH] v4.0.0.0 Changelog: https://haproxy-wi.org/changelog.py#4 --- app/options.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/options.py b/app/options.py index ef56ce51..d52ebf9a 100644 --- a/app/options.py +++ b/app/options.py @@ -1245,7 +1245,7 @@ if form.getvalue('newgroup') is not None: else: if sql.add_group(newgroup, desc): from jinja2 import Environment, FileSystemLoader - env = Environment(loader=FileSystemLoader('templates/ajax/')) + env = Environment(loader=FileSystemLoader('templates/ajax/'), autoescape=True) template = env.get_template('/new_group.html') output_from_parsed_template = template.render(groups = sql.select_groups(group=newgroup))