mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 01:47:18 +02:00
Blank domain name fix
This commit is contained in:
parent
34a43af572
commit
080d1b718a
1 changed files with 8 additions and 2 deletions
|
@ -13,8 +13,8 @@ module Epp::DomainsHelper
|
|||
end
|
||||
|
||||
def check_domain
|
||||
ph = params_hash['epp']['command']['check']['check']
|
||||
@domains = Epp::EppDomain.check_availability(ph[:name])
|
||||
names = parsed_frame.css('name').map(&:text)
|
||||
@domains = Epp::EppDomain.check_availability(names)
|
||||
render '/epp/domains/check'
|
||||
end
|
||||
|
||||
|
@ -119,6 +119,12 @@ module Epp::DomainsHelper
|
|||
|
||||
private
|
||||
|
||||
## CHECK
|
||||
|
||||
def validate_domain_check_request
|
||||
epp_request_valid?('name')
|
||||
end
|
||||
|
||||
## CREATE
|
||||
def validate_domain_create_request
|
||||
ret = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue