mirror of
https://github.com/internetee/registry.git
synced 2025-06-08 13:44:47 +02:00
Remove information about web-based whois form name fields
This commit is contained in:
parent
20d341f2e5
commit
c08561fa0d
2 changed files with 8 additions and 9 deletions
|
@ -1,7 +1,6 @@
|
||||||
<%- if json['disclaimer'].present? %>
|
<%- if json['disclaimer'].present? -%>
|
||||||
<%= json['disclaimer'].scan(/\S.{0,72}\S(?=\s|$)|\S+/).join("\n") %>
|
<%= json['disclaimer'].scan(/\S.{0,72}\S(?=\s|$)|\S+/).join("\n") %>
|
||||||
|
<%- end -%>
|
||||||
<%- end %>
|
|
||||||
Estonia .ee Top Level Domain WHOIS server
|
Estonia .ee Top Level Domain WHOIS server
|
||||||
|
|
||||||
Domain:
|
Domain:
|
||||||
|
@ -27,18 +26,18 @@ changed: <%= json['registrant_changed'].to_s.tr('T',' ').sub('+', ' +') %>
|
||||||
<%- if json['admin_contacts'].present? -%>
|
<%- if json['admin_contacts'].present? -%>
|
||||||
Administrative contact:
|
Administrative contact:
|
||||||
<%- for contact in json['admin_contacts'] -%>
|
<%- for contact in json['admin_contacts'] -%>
|
||||||
name: Not Disclosed - Visit www.internet.ee for webbased WHOIS
|
name: Not Disclosed
|
||||||
email: Not Disclosed - Visit www.internet.ee for webbased WHOIS
|
email: Not Disclosed - Visit www.internet.ee for webbased WHOIS
|
||||||
changed: Not Disclosed - Visit www.internet.ee for webbased WHOIS
|
changed: Not Disclosed
|
||||||
<%- end -%>
|
<%- end -%>
|
||||||
|
|
||||||
<%- end -%>
|
<%- end -%>
|
||||||
<% if json['tech_contacts'].present? %>
|
<% if json['tech_contacts'].present? %>
|
||||||
Technical contact:
|
Technical contact:
|
||||||
<%- for contact in json['tech_contacts'] -%>
|
<%- for contact in json['tech_contacts'] -%>
|
||||||
name: Not Disclosed - Visit www.internet.ee for webbased WHOIS
|
name: Not Disclosed
|
||||||
email: Not Disclosed - Visit www.internet.ee for webbased WHOIS
|
email: Not Disclosed - Visit www.internet.ee for webbased WHOIS
|
||||||
changed: Not Disclosed - Visit www.internet.ee for webbased WHOIS
|
changed: Not Disclosed
|
||||||
<%- end -%>
|
<%- end -%>
|
||||||
|
|
||||||
<%- end -%>
|
<%- end -%>
|
||||||
|
|
|
@ -39,9 +39,9 @@ class WhoisRecordTest < ActiveSupport::TestCase
|
||||||
end
|
end
|
||||||
expected_technical_contact = begin
|
expected_technical_contact = begin
|
||||||
'Technical contact:\n' \
|
'Technical contact:\n' \
|
||||||
'name: Not Disclosed - Visit www.internet.ee for webbased WHOIS\n' \
|
'name: Not Disclosed\n' \
|
||||||
'email: Not Disclosed - Visit www.internet.ee for webbased WHOIS\n' \
|
'email: Not Disclosed - Visit www.internet.ee for webbased WHOIS\n' \
|
||||||
'changed: Not Disclosed - Visit www.internet.ee for webbased WHOIS'
|
'changed: Not Disclosed'
|
||||||
end
|
end
|
||||||
|
|
||||||
regexp_contact = Regexp.new(expected_technical_contact, Regexp::MULTILINE)
|
regexp_contact = Regexp.new(expected_technical_contact, Regexp::MULTILINE)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue