win_get_url - Fix proxy_url not used correctly

(cherry picked from commit a21d40474c)
pull/59215/head
ShachafGoldstein 7 years ago committed by Toshio Kuratomi
parent 5fb2a0ae2d
commit 3516406d59

@ -0,0 +1,2 @@
bugfixes:
- "win_get_url - Fix proxy_url not used correctly (https://github.com/ansible/ansible/issues/58691)"

@ -108,7 +108,7 @@ Function Invoke-AnsibleWebRequest {
if (-not $UseProxy) {
$web_request.Proxy = $null
} elseif ($ProxyUri) {
} elseif ($Proxy) {
$web_request.Proxy = $Proxy
}

Loading…
Cancel
Save