mirror of
https://github.com/getnamingo/registry.git
synced 2025-07-02 17:13:20 +02:00
A small issue fixed.
This commit is contained in:
parent
c737147aae
commit
d143aafabd
2 changed files with 6 additions and 0 deletions
|
@ -388,6 +388,8 @@ class HostsController extends Controller
|
|||
if (strpos($host['name'], 'xn--') === 0) {
|
||||
$host['punycode'] = $host['name'];
|
||||
$host['name'] = idn_to_utf8($host['name'], IDNA_NONTRANSITIONAL_TO_ASCII, INTL_IDNA_VARIANT_UTS46);
|
||||
} else {
|
||||
$host['punycode'] = $host['name'];
|
||||
}
|
||||
return view($response,'admin/hosts/updateHost.twig', [
|
||||
'host' => $host,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue