Skip to content

Commit

Permalink
Merge pull request #62 from internetee/improve-policy-error-message
Browse files Browse the repository at this point in the history
Provide better context for WHOIS policy error
  • Loading branch information
vohmar authored Apr 9, 2020
2 parents 824ef70 + 85d51ed commit c804a22
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/whois_server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ def domain_valid_format?(domain_name)
end

def policy_error_msg
"\nPolicy error" + footer_msg
"\nPolicy error: please study \"Requirements for the registration of a Domain Name\" of .ee domain regulations. " \
"https://www.internet.ee/domains/ee-domain-regulation#registration-of-domain-names" + footer_msg
end

def no_entries_msg
Expand Down

0 comments on commit c804a22

Please sign in to comment.