From 28df9fa4f7d901632e7fd6e23b6d7dd345f1f6e7 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sun, 22 Oct 2017 13:50:20 +0200 Subject: INTL_IDNA_VARIANT_2003 is deprecated See https://wiki.php.net/rfc/deprecate-and-remove-intl_idna_variant_2003 --- application/Url.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application') diff --git a/application/Url.php b/application/Url.php index b3759377..21c17ecc 100644 --- a/application/Url.php +++ b/application/Url.php @@ -260,7 +260,7 @@ class Url if (! function_exists('idn_to_ascii') || ! isset($this->parts['host'])) { return $out; } - $asciiHost = idn_to_ascii($this->parts['host']); + $asciiHost = idn_to_ascii($this->parts['host'], 0, INTL_IDNA_VARIANT_UTS46); return str_replace($this->parts['host'], $asciiHost, $out); } -- cgit v1.2.3