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 | 4b575b7090cf08bf4dd3bd5ea733ccfa36100276 (patch) | |
tree | 9c5245a916ee036010fb8f0e7d531614dbb7876d /utils/test/reporting/functest/reportingUtils.py | |
parent | 46a7c1f4425a8a834195ea13541e2d6e6f8109e2 (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/functest/reportingUtils.py')
-rw-r--r-- | utils/test/reporting/functest/reportingUtils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/test/reporting/functest/reportingUtils.py b/utils/test/reporting/functest/reportingUtils.py index 5051ffa95..f02620430 100644 --- a/utils/test/reporting/functest/reportingUtils.py +++ b/utils/test/reporting/functest/reportingUtils.py @@ -37,7 +37,7 @@ def getApiResults(case, installer, scenario, version): # urllib2.install_opener(opener) # url = "http://127.0.0.1:8000/results?case=" + case + \ # "&period=30&installer=" + installer - url = (conf.URL_BASE + "?case=" + case + + url = ("http://" + conf.URL_BASE + "?case=" + case + "&period=" + str(conf.PERIOD) + "&installer=" + installer + "&scenario=" + scenario + "&version=" + version + "&last=" + str(conf.NB_TESTS)) @@ -56,7 +56,7 @@ def getApiResults(case, installer, scenario, version): def getScenarios(case, installer, version): case = case.getName() - url = (conf.URL_BASE + "?case=" + case + + url = ("http://" + conf.URL_BASE + "?case=" + case + "&period=" + str(conf.PERIOD) + "&installer=" + installer + "&version=" + version) request = Request(url) |