diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2016-09-12 07:39:23 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-09-12 07:39:23 +0000 |
commit | 3065cdbb3d3b0c69c484e4d2b4c295d8babe1e2c (patch) | |
tree | c12bfa5abe8799188b12b4c5aa08ae9214f46aec /utils/test/reporting/functest/reporting-vims.py | |
parent | f30916f66722ca0756855e7cbf70900cc99dd603 (diff) | |
parent | 4b575b7090cf08bf4dd3bd5ea733ccfa36100276 (diff) |
Merge "Fix security issues reported by the security audit"
Diffstat (limited to 'utils/test/reporting/functest/reporting-vims.py')
-rwxr-xr-x | utils/test/reporting/functest/reporting-vims.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/test/reporting/functest/reporting-vims.py b/utils/test/reporting/functest/reporting-vims.py index a83d92f0a..430a5453c 100755 --- a/utils/test/reporting/functest/reporting-vims.py +++ b/utils/test/reporting/functest/reporting-vims.py @@ -39,7 +39,7 @@ for version in conf.versions: for installer in installers: logger.info("Search vIMS results for installer: %s, version: %s" % (installer, version)) - request = Request(conf.URL_BASE + '?case=vims&installer=' + + request = Request("http://" + conf.URL_BASE + '?case=vims&installer=' + installer + '&version=' + version) try: @@ -102,7 +102,7 @@ for version in conf.versions: logger.debug("----------------------------------------") templateLoader = jinja2.FileSystemLoader(conf.REPORTING_PATH) - templateEnv = jinja2.Environment(loader=templateLoader) + templateEnv = jinja2.Environment(loader=templateLoader, autoescape=True) TEMPLATE_FILE = "/template/index-vims-tmpl.html" template = templateEnv.get_template(TEMPLATE_FILE) |