Merge branch 'rhymix:master' into master

This commit is contained in:
Lastorder 2025-03-06 21:57:47 +09:00 committed by GitHub
commit 81d91f2f83
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
130 changed files with 1590 additions and 1557 deletions

View file

@ -258,7 +258,12 @@ class URL
$position = 0;
}
if (function_exists('idn_to_utf8'))
$domain = (string)$domain;
if ($domain === '')
{
$new_domain = '';
}
elseif (function_exists('idn_to_utf8'))
{
$new_domain = idn_to_utf8($domain);
}