Add TODO for better handling of public suffix lists for hosts

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=170854701
This commit is contained in:
mcilwain 2017-10-03 07:51:38 -07:00 committed by Ben McIlwain
parent 01591ff88e
commit 51b04f7340

View file

@ -65,6 +65,8 @@ public class HostFlowUtils {
// level domains, such as .co.uk. But the list does not include new tlds, so in that case
// we just ensure 3+ parts. In the particular case where our own tld has a '.' in it, we know
// that there need to be 4 parts as well.
// TODO(b/63128999): Use better method (once implemented) that determines if it's a public
// suffix that domain names can be registered under.
if (hostName.isUnderPublicSuffix()) {
if (hostName.parent().isUnderPublicSuffix()) {
return hostName;