]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - application/Url.php
Use a specific page title in all pages
[github/shaarli/Shaarli.git] / application / Url.php
index b37593773b920c26d3a9e5332d197dc17fb44449..21c17eccaa25644c72134795570cff816e2dad8d 100644 (file)
@@ -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);
     }