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