3 references to MatchesAny
Aspire.Hosting.Kubernetes (1)
KubernetesEnvironmentContext.cs (1)
105
if (!HostString.
MatchesAny
(hostname, [pattern]))
Microsoft.AspNetCore.HostFiltering (1)
HostFilteringMiddleware.cs (1)
103
if (allowedHosts is not null && HostString.
MatchesAny
(new StringSegment(host), allowedHosts))
Microsoft.AspNetCore.HttpOverrides (1)
ForwardedHeadersMiddleware.cs (1)
292
&& (_allowAllHosts || HostString.
MatchesAny
(set.Host, _allowedHosts!)))