Closed pranavkm closed 6 years ago
This allows for scoped instances of ICorsPolicyProvider to be injected in the CORS middleware and prevents turning them into singletons.
ICorsPolicyProvider
Resolves https://github.com/aspnet/AspNetCore/issues/2377
Updated version of https://github.com/aspnet/CORS/pull/106
The code's pretty identical to the original PR. I think there's plans for better design here but merging this in before the repo gets mondo-repoed.
This allows for scoped instances of
ICorsPolicyProvider
to be injected in the CORS middleware and prevents turning them into singletons.Resolves https://github.com/aspnet/AspNetCore/issues/2377