2 writes to Host
Microsoft.AspNetCore.HttpOverrides (2)
ForwardedHeadersMiddleware.cs (2)
199
set.
Host
= forwardedHost[forwardedHost.Length - i - 1];
283
currentValues.
Host
= set.Host;
6 references to Host
Microsoft.AspNetCore.HttpOverrides (6)
ForwardedHeadersMiddleware.cs (6)
279
if (!string.IsNullOrEmpty(set.
Host
) && TryValidateHost(set.
Host
)
280
&& (_allowAllHosts || HostString.MatchesAny(set.
Host
, _allowedHosts!)))
283
currentValues.Host = set.
Host
;
349
if (checkHost && currentValues.
Host
!= null)
364
request.Host = HostString.FromUriComponent(currentValues.
Host
);