projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website]
/
vendor
/
ezyang
/
htmlpurifier
/
library
/
HTMLPurifier
/
AttrDef
/
URI
/
Host.php
diff --git
a/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/URI/Host.php
b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/URI/Host.php
index 3b4d186743e22111c0ff609c29a29b941fb75b45..e54a3344a74ffdff81562babdd7a898d4f05e836 100644
(file)
--- a/
vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/URI/Host.php
+++ b/
vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/URI/Host.php
@@
-97,7
+97,7
@@
class HTMLPurifier_AttrDef_URI_Host extends HTMLPurifier_AttrDef
// PHP 5.3 and later support this functionality natively
if (function_exists('idn_to_ascii')) {
// PHP 5.3 and later support this functionality natively
if (function_exists('idn_to_ascii')) {
- $string = idn_to_ascii($string);
+ $string = idn_to_ascii($string
, IDNA_NONTRANSITIONAL_TO_ASCII, INTL_IDNA_VARIANT_UTS46
);
// If we have Net_IDNA2 support, we can support IRIs by
// punycoding them. (This is the most portable thing to do,
// If we have Net_IDNA2 support, we can support IRIs by
// punycoding them. (This is the most portable thing to do,