mirror of
https://github.com/google/nomulus.git
synced 2025-05-12 22:38:16 +02:00
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:
parent
01591ff88e
commit
51b04f7340
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue