From 780067e6a1afc29a1c8b6e763b0e3148815a0a8d Mon Sep 17 00:00:00 2001 From: Jordan Borean Date: Fri, 10 Apr 2020 01:46:54 +1000 Subject: [PATCH] url_windows - Add not around no redirection for auth headers (#68791) --- lib/ansible/plugins/doc_fragments/url_windows.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ansible/plugins/doc_fragments/url_windows.py b/lib/ansible/plugins/doc_fragments/url_windows.py index b9c415df154..286f4b4aa39 100644 --- a/lib/ansible/plugins/doc_fragments/url_windows.py +++ b/lib/ansible/plugins/doc_fragments/url_windows.py @@ -24,6 +24,8 @@ options: - C(safe) will follow only "safe" redirects, where "safe" means that the client is only doing a C(GET) or C(HEAD) on the URI to which it is being redirected. + - When following a redirected URL, the C(Authorization) header and any + credentials set will be dropped and not redirected. choices: - all - none