|
|
@ -905,7 +905,7 @@ class rcube_utils |
|
|
|
// Note that in PHP 7.2/7.3 calling idn_to_* functions with default arguments
|
|
|
|
// throws a warning, so we have to set the variant explicitely (#6075)
|
|
|
|
$variant = defined('INTL_IDNA_VARIANT_UTS46') ? INTL_IDNA_VARIANT_UTS46 : null; |
|
|
|
$options = IDNA_DEFAULT; |
|
|
|
$options = 0; |
|
|
|
|
|
|
|
// Because php-intl extension lowercases domains and return false
|
|
|
|
// on invalid input (#6224), we skip conversion when not needed
|
|
|
|