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