LinkManager renders links to wrong websites


Description

LinkManager might render a wrong link while getting an item URL. Such an issue happens if hostname strings are included in each other.

For example:

http://website.com.cn

is rendered instead of

http://website.com

if getting the link while staying on

website.com.cn

When changing the name of website.com.cn to website.cn the issue disappears.

Solution

To resolve the issue, consider one of the following options: