Closed binsky08 closed 3 years ago
Up to php7.2-intl the default variant of idn_to_ascii() was INTL_IDNA_VARIANT_2003. From php7.4-intl the default variant is INTL_IDNA_VARIANT_UTS46. (see https://www.php.net/manual/de/function.idn-to-ascii.php and https://www.php.net/manual/de/migration72.deprecated.php)
INTL_IDNA_VARIANT_2003
INTL_IDNA_VARIANT_UTS46
This PR ensures that the old variant is still used, as the new one is no longer case sensitive, which is, however, required for some DNS entries.
fixes #92
Awesome thanks for the fix @binsky08
No problem, I would be happy if you @jethrocarr could add the label "hacktoberfest-accepted" to this PR
Up to php7.2-intl the default variant of idn_to_ascii() was
INTL_IDNA_VARIANT_2003
. From php7.4-intl the default variant isINTL_IDNA_VARIANT_UTS46
. (see https://www.php.net/manual/de/function.idn-to-ascii.php and https://www.php.net/manual/de/migration72.deprecated.php)This PR ensures that the old variant is still used, as the new one is no longer case sensitive, which is, however, required for some DNS entries.
fixes #92