[BUGFIX] Use REDIRECT_ prefix as fallback for environment variables 23/25123/10
authorSteffen Müller <typo3@t3node.com>
Wed, 30 Apr 2014 11:21:39 +0000 (13:21 +0200)
committerSteffen Müller <typo3@t3node.com>
Wed, 30 Apr 2014 16:38:40 +0000 (18:38 +0200)
commitf2ef9fab1107b1fe067451c00e26eba4ec9e7bad
tree632bce4b2c7d37e264dac3730088b1a650667ef8
parent97a1881f0838a420c1e24001cf299a7d795f1853
[BUGFIX] Use REDIRECT_ prefix as fallback for environment variables

The core uses values of environment variables for
disabling the core updater and to determine the
application context.

When setting the variable with mod_rewrite, certain server environments
prefix the variable name with REDIRECT_.
To ensure compatibility for this case, REDIRECT_
prefix is prepended as a fallback if the regular
variable is not set.

Resolves: #53188
Resolves: #58358
Resolves: #53974
Releases: 6.2
Change-Id: Iaba7f936ff1362d1f70426ec8ad1b1821e4e0d3c
Reviewed-on: https://review.typo3.org/25123
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Steffen Müller
Tested-by: Steffen Müller
typo3/sysext/core/Classes/Core/Bootstrap.php
typo3/sysext/install/Classes/Service/CoreUpdateService.php
typo3/sysext/install/Tests/Unit/Service/CoreUpdateServiceTest.php