[TASK] ext:install Break possible redirect loop 91/24191/3
authorChristian Kuhn <lolli@schwarzbu.ch>
Mon, 30 Sep 2013 22:51:12 +0000 (00:51 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sun, 6 Oct 2013 19:19:57 +0000 (21:19 +0200)
commitac3a58b8f870167aa34d2e7bb958e524e010e352
tree86aba1a42e9bcc13503f5a92dd75ef3be342925e
parentf78b57459092421fafe2ddf0e9cef94ec0c8018f
[TASK] ext:install Break possible redirect loop

The install tool initiates redirects if configuration values were
changed. This is especially done within the "silent upgrade" class.
If something goes wrong there, the system may end up in a redirect
loop and does not show useful debug information.

The patch introduces a simple redirect loop detection and breaks
after ten redirects. This should be enough for the "silent upgrade"
and should be lower than the usual browser based loop detection.

Change-Id: I31164595dc1ada17012525268b57c03499dd2ddf
Resolves: #52414
Related: #52338
Relases: 6.2
Reviewed-on: https://review.typo3.org/24191
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/install/Classes/Controller/AbstractController.php
typo3/sysext/install/Classes/Controller/Exception/RedirectLoopException.php [new file with mode: 0644]
typo3/sysext/install/Start/Install.php