Laravel version update
Laravel version update
This commit is contained in:
@@ -177,7 +177,9 @@ function getNewValidTlds($string)
|
||||
function getPunycodeDecoder()
|
||||
{
|
||||
if (function_exists('idn_to_utf8')) {
|
||||
return 'idn_to_utf8';
|
||||
return function ($domain) {
|
||||
return idn_to_utf8($domain, 0, INTL_IDNA_VARIANT_UTS46);
|
||||
};
|
||||
}
|
||||
|
||||
$hostnameValidator = new Hostname();
|
||||
|
Reference in New Issue
Block a user