Skip to content
Snippets Groups Projects
Commit 0feb1eec authored by Benni Mack's avatar Benni Mack Committed by Andreas Fernandez
Browse files

[BUGFIX] Make php-intl work with older ICU versions

On old OS with ICU < 4.6, the constant INTL_IDNA_VARIANT_UTS46
is not available, even if php-intl is installed.

Therefore, a wrapper is created in HttpUtility to check
if the constant is available, then uses INTL_IDNA_VARIANT_UTS46
otherwise the 2003 version of the HttpUtility.

Also see the section about INTL_IDNA_VARIANT_UTS46 within
https://www.php.net/manual/en/intl.constants.php

Resolves: #87953
Releases: master, 9.5
Change-Id: I594c0ffd9afa115de595b0c027bf2474c3abfafb
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60710


Reviewed-by: default avatarSven Juergens <typo3@blue-side.de>
Reviewed-by: default avatarKevin Meckl <kevin.meckl@zdrei.com>
Reviewed-by: default avatarTimo Poppinga <timo.poppinga@zdrei.com>
Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarTimo Poppinga <timo.poppinga@zdrei.com>
Tested-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
parent e845d90b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment