CORS non-wildcard request header support enabled

Policy ID
CORSNonWildcardRequestHeadersSupport
Scope
Computer Configuration, User Configuration
Supported on
Microsoft Edge version 97, Windows 7 or later
Source
Microsoft Edge Policy Templates (version 155.0.4283.45)
Category
Microsoft Edge

Description

This policy lets you configure support for CORS non-wildcard request headers.

Microsoft Edge version 97 introduces support for CORS non-wildcard request headers. When a script makes a cross-origin network request via fetch() and XMLHttpRequest with a script-added Authorization header, the header is explicitly allowed by the Access-Control-Allow-Headers header in the CORS preflight response. "Explicitly" here means that the wild card symbol "*" doesn't cover the Authorization header. For more information, see https://go.microsoft.com/fwlink/?linkid=2180022.

If you enable or don't configure the policy, Microsoft Edge supports the CORS non-wildcard request headers and behaves as previously described.

If you disable this policy, Microsoft Edge allows the wildcard symbol ("*") in the Access-Control-Allow-Headers header in the CORS preflight response to cover the Authorization header.

This policy is a temporary workaround for the new CORS non-wildcard request header feature. It's planned to be removed in the future.

Registry

ComputerHKEY_LOCAL_MACHINE
  • CORSNonWildcardRequestHeadersSupportREG_DWORD
UserHKEY_CURRENT_USER
  • CORSNonWildcardRequestHeadersSupportREG_DWORD

Other policies in the same category

View all policies in this category (438)