[TASK] Directly wire Application and RequestHandler
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Configuration / RequestMiddlewares.php
index cfa2346..401cd94 100644 (file)
  */
 return [
     'backend' => [
+        'typo3/cms-core/legacy-request-handler-dispatcher' => [
+            'target' => \TYPO3\CMS\Core\Middleware\LegacyRequestHandlerDispatcher::class,
+        ],
         'typo3/cms-backend/locked-backend' => [
             'target' => \TYPO3\CMS\Backend\Middleware\LockedBackendGuard::class,
+            'after' => [
+                'typo3/cms-core/legacy-request-handler-dispatcher'
+            ],
         ],
         'typo3/cms-backend/https-redirector' => [
             'target' => \TYPO3\CMS\Backend\Middleware\ForcedHttpsBackendRedirector::class,