[BUGFIX] Determine Chinese simplified Han "Accept-Language" header 56/51056/13
authorDavidsWONG <noreply@example.com>
Thu, 29 Dec 2016 09:02:30 +0000 (10:02 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 29 Nov 2017 15:10:17 +0000 (16:10 +0100)
commit745e0b2860e3fa464e4a1bc1f5ae3983b6f1ee18
tree4b4876a341a6f3012ce638f5ba4810e72738d2db
parent1553fd4951a0f9fb1203e6ebdcfa1cf4f4e8ddd0
[BUGFIX] Determine Chinese simplified Han "Accept-Language" header

Internet Explorer (IE11 & Edge) changed the submitted HTTP header
for "Accept-Language" from "zh-cn" to "zh-hans-cn". In order to
determine the Chinese language correctly, this value is added.

Releases: master, 8.7
Resolves: #81858
Change-Id: I477f88950313aa9bf0aeabbf6603bd15247a52ba
Reviewed-on: https://review.typo3.org/51056
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Localization/Locales.php
typo3/sysext/core/Tests/Unit/Localization/LocalesTest.php