You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.
Use [EnableCors("foo")] without defining any policies.
System.ArgumentNullException: Value cannot be null.
Parameter name: policy
at Microsoft.AspNetCore.Cors.Infrastructure.CorsService.EvaluatePolicy(HttpContext context, CorsPolicy policy)
at Microsoft.AspNetCore.Mvc.Cors.CorsAuthorizationFilter.<OnAuthorizationAsync>d__9.MoveNext()
We just let it nullref, we should throw a better exception.
The text was updated successfully, but these errors were encountered:
Use
[EnableCors("foo")]
without defining any policies.We just let it nullref, we should throw a better exception.
The text was updated successfully, but these errors were encountered: