-
Notifications
You must be signed in to change notification settings - Fork 25.1k
Closed
Labels
Source - Docs.msDocs Customer feedback via GitHub IssueDocs Customer feedback via GitHub Issueaspnet-core/svcseQUESTeredIdentifies that an issue has been imported into Quest.Identifies that an issue has been imported into Quest.security/subsvc
Description
Description
Seem that the setup here does not work for wildcard when SetIsOriginAllowedToAllowWildcardSubdomains is used.
policy.WithOrigins("https://*.example.com")
However base class will:
policy.WithOrigins("https://example.com")
https://x.com/KedziorArtur/status/1960011635512180947
Page URL
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/security/cors.md
Document ID
d3f332c4-4c60-039e-0e1e-bc6b11831f87
Platform Id
fa70aa3f-a2de-be8b-4255-e778a6edb8ff
Article author
Metadata
- ID: 59bca5db-1196-2a8b-a0d8-4e89b2382288
- PlatformId: fa70aa3f-a2de-be8b-4255-e778a6edb8ff
- Service: aspnet-core
- Sub-service: security
Copilot
Metadata
Metadata
Labels
Source - Docs.msDocs Customer feedback via GitHub IssueDocs Customer feedback via GitHub Issueaspnet-core/svcseQUESTeredIdentifies that an issue has been imported into Quest.Identifies that an issue has been imported into Quest.security/subsvc