Skip to content

Adjust logic of Web Cmdlet Authorization Header Stripping to work with .NET Core 2.1 #6728

@markekraus

Description

@markekraus

Re #6718 #6632

In dotnet/corefx#26864 the Authorization header is now stripped on redirect. This means that the logic we currently have in place to handle this and to bypass is now reversed. We need to update the logic of the web cmdlets to manually handle redirection when -PreserveAuthorizationOnRedirect is supplied and an Authorization request header is present. Currently, they are doing the exact opposite.

Metadata

Metadata

Assignees

Labels

Breaking-Changebreaking change that may affect usersCommittee-ReviewedPS-Committee has reviewed this and made a decisionResolution-FixedThe issue is fixed.WG-Cmdlets-Utilitycmdlets in the Microsoft.PowerShell.Utility module

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions