Merge pull request #40800 from rallytime/bp-40720

Back-port #40720 to 2016.11
This commit is contained in:
Nicole Thomas 2017-04-20 13:41:40 -06:00 committed by GitHub
commit ced839f841

View File

@ -178,7 +178,7 @@ def query(url,
# Some libraries don't support separation of url and GET parameters
# Don't need a try/except block, since Salt depends on tornado
url_full = tornado.httputil.url_concat(url, params)
url_full = tornado.httputil.url_concat(url, params) if params else url
if ca_bundle is None:
ca_bundle = get_ca_bundle(opts)