-
Several places across the project check whether a given hostname is a (sub)domain of a specific domain name, usually to check whether the service is run by a given provider. Some of the checks are not strict enough. Provide a function to do the check correctly, and switch existing checks to use this function. Related to evolution#2720