1 write to IsDefaultIsOriginAllowed
Microsoft.AspNetCore.Cors (1)
Infrastructure\CorsPolicy.cs (1)
91IsDefaultIsOriginAllowed = false;
3 references to IsDefaultIsOriginAllowed
Microsoft.AspNetCore.Cors (1)
Infrastructure\CorsService.cs (1)
109result.VaryByOrigin = policy.Origins.Count > 1 || !policy.IsDefaultIsOriginAllowed;
Microsoft.AspNetCore.Cors.Test (2)
CorsPolicyTests.cs (2)
25Assert.True(corsPolicy.IsDefaultIsOriginAllowed); 38Assert.False(policy.IsDefaultIsOriginAllowed);