handled new config value trusted_domains