Bug #93321 ยป patch-93321.diff
new/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php 2021-01-20 22:39:18.249667277 +0100 | ||
---|---|---|
if ($this->container !== null && $this->container->has($this->middleware)) {
|
||
$middleware = $this->container->get($this->middleware);
|
||
} else {
|
||
$middleware = GeneralUtility::makeInstance($this->middleware);
|
||
/** @var \TYPO3\CMS\Extbase\SignalSlot\Dispatcher $signalSlotDispatcher */
|
||
$signalSlotDispatcher = GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class);
|
||
$middleware = GeneralUtility::makeInstance($this->middleware, $signalSlotDispatcher);
|
||
}
|
||
if (!$middleware instanceof MiddlewareInterface) {
|