Host always read from Host-Header


The Method EPiServer.Web.HttpContextExtensions.HostName is reading from the Host-Header instead of using the IRequestHostResolver, which might be a custom implementation.

The custom IRequestHostResolver might read the host from an X-Forwarded header

Jul 02, 2021 12:24
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.