[BUGFIX] Fix redirect to install tool in new installations 76/30376/6
authorMarkus Klein <klein.t3@mfc-linz.at>
Sat, 24 May 2014 18:45:17 +0000 (20:45 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Thu, 29 May 2014 13:39:47 +0000 (15:39 +0200)
commit3a1fd2b9e277b397118bc0f77b7eb943c994e751
tree0b9a66a8d8ef962d2fbe9711a500563c626ed1d2
parentf377c8f228eb1011b99f794fb44bb79378976d28
[BUGFIX] Fix redirect to install tool in new installations

When setting up a new TYPO3 installation, TYPO3 should redirect
to the install tool, when accessing the frontend or backend.

This redirect fails since introduction of the trustedHostsPattern
since no configuration is available at this point, while the
request itself is a BE or FE request, which will be denied in this
case.
Solution is to set the REQUEST_TYPE to INSTALL before doing the redirect
to install tool so that creating the redirect is allowed.

Resolves: #59087
Releases: 6.2, 6.1
Change-Id: I31bcbc20fa1c9bca0d6bf2b940bf26b9affe893b
Reviewed-on: https://review.typo3.org/30376
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/core/Classes/Core/Bootstrap.php