summaryrefslogtreecommitdiffstats
path: root/utils/test/reporting/yardstick
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-09-08 18:36:47 +0200
committerMorgan Richomme <morgan.richomme@orange.com>2016-09-08 18:36:47 +0200
commit4b575b7090cf08bf4dd3bd5ea733ccfa36100276 (patch)
tree9c5245a916ee036010fb8f0e7d531614dbb7876d /utils/test/reporting/yardstick
parent46a7c1f4425a8a834195ea13541e2d6e6f8109e2 (diff)
Fix security issues reported by the security audit
JIRA: RELENG-143 Change-Id: Ia20c6ce86e72924ab8ab5f93bdc956d7f6a40a93 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Diffstat (limited to 'utils/test/reporting/yardstick')
-rw-r--r--utils/test/reporting/yardstick/reporting-status.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/test/reporting/yardstick/reporting-status.py b/utils/test/reporting/yardstick/reporting-status.py
index ed5dab044..546bf08c4 100644
--- a/utils/test/reporting/yardstick/reporting-status.py
+++ b/utils/test/reporting/yardstick/reporting-status.py
@@ -59,7 +59,7 @@ for version in conf.versions:
logger.info("--------------------------")
templateLoader = jinja2.FileSystemLoader(conf.REPORTING_PATH)
- templateEnv = jinja2.Environment(loader=templateLoader)
+ templateEnv = jinja2.Environment(loader=templateLoader, autoescape=True)
TEMPLATE_FILE = "/template/index-status-tmpl.html"
template = templateEnv.get_template(TEMPLATE_FILE)