PowerShell/test/powershell/Modules
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
..
CimCmdlets Added tests to close code coverage in CIM area (#2528) 2016-11-17 11:46:07 -08:00
Microsoft.PowerShell.Core Added logic in AssemblyLoadContext to load assembly from GAC. (#3981) 2017-06-15 13:25:59 -07:00
Microsoft.PowerShell.Diagnostics Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00
Microsoft.Powershell.Host Fix the issue that PS only stops transcription when all runspaces are closed (#3896) 2017-06-13 15:44:06 -07:00
Microsoft.PowerShell.LocalAccounts Fix New-LocalUser cmdlet to roll back user in case of user attributes assignment failure. 2017-03-09 09:25:46 -08:00
Microsoft.PowerShell.Management Move to latest .NET Core and enable -SkipCertificateCheck on OSX (#3887) 2017-06-13 17:58:20 -07:00
Microsoft.PowerShell.Security Make DocumentEncryptionCert test pending (#3854) 2017-05-24 12:22:17 -07:00
Microsoft.PowerShell.Utility Strip authorization header on redirects with web cmdlets (#3885) 2017-06-15 15:52:08 -07:00
PackageManagement Jameswtruher/travisdaily2 (#2842) 2016-12-06 13:58:57 -08:00
PowerShellGet Fixed code coverage infrastructure and some failing tests (#3914) 2017-06-05 17:37:48 -07:00
PSDesiredStateConfiguration corrected use of PSModulePath casing to be consistent with Windows PowerShell (#3255) 2017-03-15 12:04:28 -07:00
PSReadLine Add regression tests for custom key bindings 2016-07-28 22:41:04 -07:00
map.json fix two more file copy targets 2016-08-02 12:05:24 -07:00