[TASK] Install Tool: Split up Checks into RequestHandlers
In order to get the controllers free of security checks, the logic of authentication/session handling is moved from various controllers into the RequestHandler and the Application. Additionally, a second RequestHandler (RecoveryRequestHandler) is introduced which acts as a fallback if TYPO3 is not installed yet, or the installation is broken (e.g. missing PackageStates.php). This brings a cleaner dispatching mechanism, having the RecoveryRequestHandler (which can handle any request) dealing with the StepController, and the regular RequestHandler (with higher priority) for handling the maintenance functionality for running installations. Resolves: #82238 Releases: master Change-Id: I906ab3f15479bbe70202608f6bd7838cc22d9e3a Reviewed-on: https://review.typo3.org/53800 Tested-by:TYPO3com <no-reply@typo3.com> Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by:
Susanne Moog <susanne.moog@typo3.org> Tested-by:
Susanne Moog <susanne.moog@typo3.org> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
Showing
- typo3/sysext/install/Classes/Controller/AbstractController.php 32 additions, 210 deletions.../sysext/install/Classes/Controller/AbstractController.php
- typo3/sysext/install/Classes/Controller/AjaxController.php 1 addition, 51 deletionstypo3/sysext/install/Classes/Controller/AjaxController.php
- typo3/sysext/install/Classes/Controller/StepController.php 54 additions, 109 deletionstypo3/sysext/install/Classes/Controller/StepController.php
- typo3/sysext/install/Classes/Controller/ToolController.php 15 additions, 10 deletionstypo3/sysext/install/Classes/Controller/ToolController.php
- typo3/sysext/install/Classes/Exception/AuthenticationRequiredException.php 50 additions, 0 deletions...all/Classes/Exception/AuthenticationRequiredException.php
- typo3/sysext/install/Classes/Http/Application.php 26 additions, 1 deletiontypo3/sysext/install/Classes/Http/Application.php
- typo3/sysext/install/Classes/Http/RecoveryRequestHandler.php 358 additions, 0 deletionstypo3/sysext/install/Classes/Http/RecoveryRequestHandler.php
- typo3/sysext/install/Classes/Http/RequestHandler.php 171 additions, 17 deletionstypo3/sysext/install/Classes/Http/RequestHandler.php
Please register or sign in to comment