/** * Encode the domain in an URL * * @param string $strUrl The URL * * @return string The encoded URL * * @deprecated Deprecated since Contao 4.0, to be removed in Contao 5.0. * Use Idna::encodeUrl() instead. */ protected function idnaEncodeUrl($strUrl) { @trigger_error('Using System::idnaEncodeUrl() has been deprecated and will no longer work in Contao 5.0. Use Idna::encodeUrl() instead.', E_USER_DEPRECATED); return \Idna::encodeUrl($strUrl); }