Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

url_windows - Add not around no redirection for auth headers #68791

Merged
merged 1 commit into from
Apr 9, 2020

Conversation

jborean93
Copy link
Contributor

SUMMARY

The Windows WebRequest code does not preserve the Authorization header (including explicit credentials) when encountering a redirect. This is a behaviour of the underlying library and it does not expose a simple way to control this behaviour so we will just document the behaviour.

Fixes #68771

ISSUE TYPE
  • Docs Pull Request
COMPONENT NAME

url_windows.py

@ansibot ansibot added affects_2.10 This issue/PR affects Ansible v2.10 core_review In order to be merged, this PR must follow the core review workflow. docs This issue/PR relates to or includes documentation. needs_triage Needs a first human triage before being processed. small_patch support:core This issue/PR relates to code supported by the Ansible Engineering Team. windows Windows community labels Apr 9, 2020
@samccann samccann removed the needs_triage Needs a first human triage before being processed. label Apr 9, 2020
@samccann samccann merged commit 780067e into ansible:devel Apr 9, 2020
@jborean93 jborean93 deleted the url-windows-redirection branch April 9, 2020 19:12
@ansible ansible locked and limited conversation to collaborators May 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.10 This issue/PR affects Ansible v2.10 core_review In order to be merged, this PR must follow the core review workflow. docs This issue/PR relates to or includes documentation. small_patch support:core This issue/PR relates to code supported by the Ansible Engineering Team. windows Windows community
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ansible.ModuleUtils.WebRequest clears authorization header on redirects
3 participants