[BUGFIX] Determine Chinese simplified Han "Accept-Language" header 65/54865/2
authorDavidsWONG <noreply@example.com>
Thu, 29 Dec 2016 09:02:30 +0000 (10:02 +0100)
committerOliver Hader <oliver.hader@typo3.org>
Wed, 29 Nov 2017 15:59:52 +0000 (16:59 +0100)
commit0e9c009f9e09fca6634d4414ef1fb18a711dfb92
tree34ed49ccc8917b8d415e7890f94bbdf263b5f88b
parent61c775686773e02603d7b558e2f4ebce84c3ba9d
[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/54865
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
typo3/sysext/core/Classes/Localization/Locales.php
typo3/sysext/core/Tests/Unit/Localization/LocalesTest.php