mirror of
https://github.com/google/nomulus
synced 2026-01-06 21:47:31 +00:00
Check the host is under registry suffix instead of public suffix
Guava now has support to distinguish a registry suffix from a public suffix. Since we are only interested in registrable domains, registry suffix is the proper thing to check.
See:
692446a303/guava/src/com/google/common/net/InternetDomainName.java
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=176126916
This commit is contained in:
@@ -1032,7 +1032,7 @@ allows creating a host name, and if necessary enqueues tasks to update DNS.
|
||||
* 2304
|
||||
* Superordinate domain for this hostname is in pending delete.
|
||||
* 2306
|
||||
* Host names must be at least two levels below the public suffix.
|
||||
* Host names must be at least two levels below the registry suffix.
|
||||
|
||||
## HostDeleteFlow
|
||||
|
||||
@@ -1131,7 +1131,7 @@ are enqueued to update DNS accordingly.
|
||||
* Cannot rename an external host.
|
||||
* 2306
|
||||
* Cannot add and remove the same value.
|
||||
* Host names must be at least two levels below the public suffix.
|
||||
* Host names must be at least two levels below the registry suffix.
|
||||
|
||||
## LoginFlow
|
||||
|
||||
|
||||
Reference in New Issue
Block a user