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