diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2016-09-08 18:36:47 +0200 |
---|---|---|
committer | Morgan Richomme <morgan.richomme@orange.com> | 2016-09-08 18:36:47 +0200 |
commit | 3bbce50d580b467c7d6a4e6cef3963b77e684f44 (patch) | |
tree | 74873722e5612889a7d8de29f649d22bb1e1e0fa /reporting/yardstick/reporting-status.py | |
parent | 3d383d1e28a7d835591186759b3ba55bf14db73e (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 'reporting/yardstick/reporting-status.py')
-rw-r--r-- | reporting/yardstick/reporting-status.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reporting/yardstick/reporting-status.py b/reporting/yardstick/reporting-status.py index ed5dab0..546bf08 100644 --- a/reporting/yardstick/reporting-status.py +++ b/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) |