win_get_url - Fix proxy_url not used correctly (#58738)

pull/58742/head
Shachaf92 5 years ago committed by Jordan Borean
parent 60fb9fc208
commit 48a518d9a3

@ -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) { if (-not $UseProxy) {
$web_request.Proxy = $null $web_request.Proxy = $null
} elseif ($ProxyUri) { } elseif ($Proxy) {
$web_request.Proxy = $Proxy $web_request.Proxy = $Proxy
} }

Loading…
Cancel
Save