win_get_url - Fix proxy_url not used correctly (#58738)

This commit is contained in:
Shachaf92 2019-07-05 00:42:05 +03:00 committed by Jordan Borean
parent 60fb9fc208
commit 48a518d9a3
2 changed files with 3 additions and 1 deletions

View file

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

View file

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