From 4106492ed35d2346d80b2bfa7ee47f51e111e2e3 Mon Sep 17 00:00:00 2001 From: Vladimir Krylov Date: Fri, 26 Feb 2016 15:23:34 +0200 Subject: [PATCH] Story#114552597 - name_in_wire_format uses puny code --- app/models/domain.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/domain.rb b/app/models/domain.rb index 3e0ff3e23..249f43fb2 100644 --- a/app/models/domain.rb +++ b/app/models/domain.rb @@ -501,7 +501,7 @@ class Domain < ActiveRecord::Base def name_in_wire_format res = '' - parts = name.split('.') + parts = name_puny.split('.') parts.each do |x| res += format('%02X', x.length) # length of label in hex res += x.each_byte.map { |b| format('%02X', b) }.join # label