Skip to content

Commit

Permalink
Temporary fix for #1806
Browse files Browse the repository at this point in the history
  • Loading branch information
dnsguru authored Jul 26, 2023
1 parent f95b832 commit 164547f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tools/newgtlds.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func (e *pslEntry) normalize() {
e.ALabel = strings.TrimSpace(e.ALabel)
e.ULabel = strings.TrimSpace(e.ULabel)
e.RegistryOperator = strings.TrimSpace(e.RegistryOperator)
e.DateOfContractSignature = strings.TrimSpace(e.DateOfContractSignature)
e.DateOfContractSignature = "Contracted"

// If there is no explicit uLabel use the gTLD as the uLabel.
if e.ULabel == "" {
Expand All @@ -131,13 +131,12 @@ func (e *pslEntry) normalize() {
//
// If the registry operator field is empty the comment will be of the form:
//
// '// <ALabel> : <DateOfContractSignature>'
// '// <ALabel> : Contracted'
//
// If the registry operator field is not empty the comment will be of the form:
//
// '// <ALabel> : <DateOfContractSignature> <RegistryOperator>'
// '// <ALabel> : Contracted <RegistryOperator>'
//
// In both cases the <DateOfContractSignature> may be empty.
func (e pslEntry) Comment() string {
parts := []string{
"//",
Expand Down

0 comments on commit 164547f

Please sign in to comment.