Fix the issues with the encoding of the domain name.