3 writes to AllowedHosts
Microsoft.AspNetCore.HttpOverrides.Tests (3)
ForwardedHeadersMiddlewareTest.cs (3)
497
AllowedHosts
= allowedHost.Split(new[] { ';' }, StringSplitOptions.RemoveEmptyEntries)
548
AllowedHosts
= new[] { allowedHost }
584
AllowedHosts
= new[] { "bar.com", "*.foo.com" }
3 references to AllowedHosts
Microsoft.AspNetCore.HttpOverrides (3)
ForwardedHeadersMiddleware.cs (3)
71
if (_options.
AllowedHosts
== null || _options.
AllowedHosts
.Count == 0)
78
foreach (var entry in _options.
AllowedHosts
)