3 references to AllowEmptyHosts
Microsoft.AspNetCore.HostFiltering (3)
MiddlewareConfigurationManager.cs (3)
50return new(true, options.AllowEmptyHosts, options.IncludeFailureMessage); 58return new(false, options.AllowEmptyHosts, options.IncludeFailureMessage, allowedHosts.AsReadOnly()); 93return $"{{AllowedHosts = {string.Join("; ", hostFilteringOptions.AllowedHosts)}, AllowEmptyHosts = {hostFilteringOptions.AllowEmptyHosts}, IncludeFailureMessage = {hostFilteringOptions.IncludeFailureMessage}}}";