win_get_url - Fix proxy_url not used correctly

(cherry picked from commit a21d40474c636edb737f99aa98d70701badddc09)
This commit is contained in:
ShachafGoldstein 2019-07-05 00:30:02 +03:00 committed by Toshio Kuratomi
parent 5fb2a0ae2d
commit 3516406d59
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
}