[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:Sven Juergens <typo3@blue-side.de> Reviewed-by:
Kevin Meckl <kevin.meckl@zdrei.com> Reviewed-by:
Timo Poppinga <timo.poppinga@zdrei.com> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Timo Poppinga <timo.poppinga@zdrei.com> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de>
Showing
- typo3/sysext/core/Classes/DataHandling/DataHandler.php 2 additions, 1 deletiontypo3/sysext/core/Classes/DataHandling/DataHandler.php
- typo3/sysext/core/Classes/Mail/MailMessage.php 2 additions, 1 deletiontypo3/sysext/core/Classes/Mail/MailMessage.php
- typo3/sysext/core/Classes/Routing/SiteMatcher.php 3 additions, 2 deletionstypo3/sysext/core/Classes/Routing/SiteMatcher.php
- typo3/sysext/core/Classes/Utility/GeneralUtility.php 4 additions, 4 deletionstypo3/sysext/core/Classes/Utility/GeneralUtility.php
- typo3/sysext/core/Classes/Utility/HttpUtility.php 18 additions, 0 deletionstypo3/sysext/core/Classes/Utility/HttpUtility.php
- typo3/sysext/frontend/Classes/Typolink/PageLinkBuilder.php 1 addition, 1 deletiontypo3/sysext/frontend/Classes/Typolink/PageLinkBuilder.php
- typo3/sysext/linkvalidator/Classes/Linktype/ExternalLinktype.php 2 additions, 1 deletion...ysext/linkvalidator/Classes/Linktype/ExternalLinktype.php
Please register or sign in to comment