Multi-site content language not resolved correctly with localhost and port

Found in

EPiServer.CMS.Core 12.0.3

Fixed in

EPiServer.CMS.Core 12.1.0

Created

Oct 08, 2021

Updated

Nov 16, 2021

Area

CMS Core

State

Closed, Fixed and tested


Description

In a multi-site scenario, locally (with localhost and separate port numbers), content language was not determined correctly because the code in EPiServer.Globalization.Internal.HostLanguageResolver was only comparing the host name, and not the port number.