Skip to content

Add -PreserveAuthorizationOnRedirect Invoke-WebRequest and Invoke-RestMethod - #1269

Merged
JuanPablo Jofre (juanpablojofre) merged 1 commit into
MicrosoftDocs:stagingfrom
dantraMSFT:staging
Jun 12, 2017
Merged

JuanPablo Jofre (juanpablojofre) merged 1 commit into
MicrosoftDocs:stagingfrom
dantraMSFT:staging

Conversation

@dantraMSFT

Copy link
Copy Markdown
Contributor

The fix for the PowerShell issue 2227 (PowerShell/PowerShell#2227) strips the Authorization header when a redirect occurs. For edge cases, the -PreserveAuthorizationOnRedirect switch disables the header stripping logic.

@msftclas

Dan Travison (@dantraMSFT),
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@saldana

Copy link
Copy Markdown
Contributor

✅ Validation status: passed

File Status Preview URL Details
reference/6/Microsoft.PowerShell.Utility/Invoke-RestMethod.md ✅Succeeded
reference/6/Microsoft.PowerShell.Utility/Invoke-WebRequest.md ✅Succeeded

For more details, please refer to the build report.

Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@juanpablojofre
JuanPablo Jofre (juanpablojofre) merged commit cc49efb into MicrosoftDocs:staging Jun 12, 2017
@andyleejordan Andy Jordan (andyleejordan) removed the in-progress Tag - issue is being worked on by someone label Jun 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants