mirror of
https://github.com/internetee/registry.git
synced 2025-06-08 13:44:47 +02:00
Handle IDN domains that went to auction
Both ASCII and unicode should be supported to register a domain.
This commit is contained in:
parent
d39e768e35
commit
d471b273f7
3 changed files with 288 additions and 1 deletions
|
@ -24,7 +24,7 @@ class Epp::DomainsController < EppController
|
|||
|
||||
if Domain.release_to_auction
|
||||
request_domain_name = params[:parsed_frame].css('name').text.strip.downcase
|
||||
domain_name = DNS::DomainName.new(request_domain_name)
|
||||
domain_name = DNS::DomainName.new(SimpleIDN.to_unicode(request_domain_name))
|
||||
|
||||
if domain_name.at_auction?
|
||||
throw :epp_error,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue