[BUGFIX] Allow umlaut domains for site domain resolving 58/59958/6
authorBenni Mack <benni@typo3.org>
Sat, 9 Mar 2019 14:34:19 +0000 (15:34 +0100)
committerBenni Mack <benni@typo3.org>
Wed, 13 Mar 2019 05:20:16 +0000 (06:20 +0100)
commit11292caf2016587f61ab32258e848d24ae5db663
treeb563f3a7ed807cb64bf533a4ab2a4226b7150aa2
parent0dd23086dbea238963218ac6f089037a487149c7
[BUGFIX] Allow umlaut domains for site domain resolving

As umlaut domains require to be puny-coded, this needs
to be added into the request context of the SiteMatcher.

A polyfill package "symfony/polyfill-intl-idn" is installed
to ensure that the methods exist at all times. If "ext-intl"
is not available, the polyfill package is used.

Installed via
    composer require symfony/polyfill-intl-idn

Resolves: #87090
Resolves: #87843
Releases: master, 9.5
Change-Id: I209c01953b3a0f2c25b4e1f11ab74ed4bb29f569
Reviewed-on: https://review.typo3.org/c/59958
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
composer.json
composer.lock
typo3/sysext/core/Classes/Routing/SiteMatcher.php
typo3/sysext/frontend/Tests/Functional/SiteHandling/SiteRequestTest.php