1
0
mirror of https://github.com/google/nomulus synced 2026-02-03 19:42:39 +00:00

Remove 'fullyQualified' from host and domain names (#631)

* Remove 'fullyQualified' from host and domain names

We don't actually enforce that these are properly fully-qualified
(there's no dot at the end) and we specifically use the term "label
name" when talking about labels.

Note: this doesn't convert FQDN -> DN (et al) in at least two types of
cases:
1. When the term is part of the XML schema
2. When the term is used by some external system, e.g. SafeBrowsing API

* Add TODO to rename fields
This commit is contained in:
gbrodman
2020-06-17 16:19:26 -04:00
committed by GitHub
parent 19395def5b
commit 69a1d04c18
87 changed files with 245 additions and 228 deletions

View File

@@ -34,7 +34,7 @@ registry.json.locks = {};
/**
* @typedef {{
* fullyQualifiedDomainName: string,
* domainName: string,
* lockedTime: string,
* lockedBy: string,
* userCanUnlock: boolean,

View File

@@ -173,7 +173,7 @@ registry.registrar.RegistryLock.prototype.lockOrUnlockDomain_ = function(isLock,
'POST',
goog.json.serialize({
'clientId': this.clientId,
'fullyQualifiedDomainName': domain,
'domainName': domain,
'isLock': isLock,
'password': password,
'relockDurationMillis': relockDuration