[BUGFIX] ClientUtility does not detect Internet Explorer 11 84/25884/2
authorStefan Neufeind <typo3.neufeind@speedpartner.de>
Sun, 1 Dec 2013 14:33:13 +0000 (15:33 +0100)
committerHelmut Hummel <helmut.hummel@typo3.org>
Mon, 2 Dec 2013 19:19:23 +0000 (20:19 +0100)
commitd21a628c6c2f91450b2502b0dc1730f6e90f875d
tree6f32d0e4fd4c90bf4128caf311d8a63d416e1c6d
parente5380209beb746f36c78215c9e56fae1a03ad8c6
[BUGFIX] ClientUtility does not detect Internet Explorer 11

Since the Release of Microsoft IE 11 there is no "MSIE" hint in
its user agent header anymore. Therefore the existing patterns
fail and the browser is detected as unknown browser.

TYPO3 deactivates several features for unknown browser. As a
result f.e. the RTE does not load.

This change adds special treatment for IE11+ by introducing an
additional regular expression matching the new user agent format
and looking for the Trident engine to be present.

In addition unit tests for common IE 9-11 user agents are added.

Change-Id: I389f344a498ac77f3e6445656dd125fd5d236a98
Resolves: #54124
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Reviewed-on: https://review.typo3.org/25884
Reviewed-by: Markus Klein
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
typo3/sysext/core/Classes/Utility/ClientUtility.php
typo3/sysext/core/Tests/Unit/Utility/ClientUtilityTest.php