2 references to MatchesAny
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)
276
&& (_allowAllHosts || HostString.
MatchesAny
(set.Host, _allowedHosts!)))