Version 4.1.19

This commit is contained in:
Neo committed 2025-12-19 05:38:56 -08:00
1 parent 28bd025b35
commit 2bd5025018
2674 files changed
+233518 -77766

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
<?php
// HTMLPurifier will automatically use http://php.net/idn_to_ascii if
// the IDN extension is installed. This is a small Polyfill to declare
// that method and use the php-punycode library so that IDNs can be
// supported in all environments
require_once 'Punycode.php';
function idn_to_ascii( $string )
{
$punycode = new \TrueBV\Punycode;
return $punycode->encode( $string );
}