mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 19:20:37 +02:00
EPP should use unicode to check domain name availability
This commit is contained in:
parent
d471b273f7
commit
888e95a8c7
2 changed files with 53 additions and 1 deletions
|
@ -802,7 +802,7 @@ class Epp::Domain < Domain
|
|||
next
|
||||
end
|
||||
|
||||
domain_name = DNS::DomainName.new(domain_name_as_string)
|
||||
domain_name = DNS::DomainName.new(SimpleIDN.to_unicode(domain_name_as_string))
|
||||
|
||||
if domain_name.unavailable?
|
||||
reason = I18n.t("errors.messages.epp_domain_#{domain_name.unavailability_reason}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue