PowerShell/test/tools
Dan Travison 039ed6764d Strip authorization header on redirects with web cmdlets (#3885)
Invoke-WebRequest and Invoke-RestMethod cmdlets will now strip authorization header on redirect unless the new parameter `-PreserveAuthorizationOnRedirect` is specified.

The FullCLR implementation uses WebRequest to perform the request which silently strips the Authorization header when a redirect occurs.

The CoreCLR implementation uses HttpClient to perform the request which does not strip the authorization header. The change explicitly handles the initial redirect, removes the authorization header and submits the request to location in the response.

Fixes #2227
2017-06-15 15:52:08 -07:00
..
CodeCoverageAutomation Fixed code coverage infrastructure and some failing tests (#3914) 2017-06-05 17:37:48 -07:00
Modules Strip authorization header on redirects with web cmdlets (#3885) 2017-06-15 15:52:08 -07:00
OpenCover Fixed code coverage infrastructure and some failing tests (#3914) 2017-06-05 17:37:48 -07:00
TestExe Consolidated the two test exes into one (#3982) 2017-06-13 17:49:56 -07:00