From a89a18ea6f1f89667e20f27f97f0a8d56d51e40f Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Mon, 14 Sep 2015 10:46:14 +0200 Subject: [PATCH] Enable autoescaping by default, to fix #44 --- freeipa_community_portal/app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/freeipa_community_portal/app.py b/freeipa_community_portal/app.py index a140d61..ebc4be7 100644 --- a/freeipa_community_portal/app.py +++ b/freeipa_community_portal/app.py @@ -38,6 +38,7 @@ TEMPLATE_ENV = jinja2.Environment( + autoescape=True, loader=jinja2.PackageLoader('freeipa_community_portal', 'templates'))