in /var/www/html/typo3/sysext/scheduler/Classes/Controller/SchedulerModuleController.php line 180
return $this->renderEditTaskFormView($view, $request);
}
}
$queryAction = SchedulerManagementAction::tryFrom($queryParams['action'] ?? '') ?? SchedulerManagementAction::LIST;
// Add new task form / edit existing task form.
if ($queryAction === SchedulerManagementAction::ADD) {
return $this->renderAddTaskFormView($view, $request);
}
at TYPO3\CMS\Scheduler\SchedulerManagementAction::tryFrom(array('delete' => '8'))
in /var/www/html/typo3/sysext/scheduler/Classes/Controller/SchedulerModuleController.php line 180
return $this->renderEditTaskFormView($view, $request);
}
}
$queryAction = SchedulerManagementAction::tryFrom($queryParams['action'] ?? '') ?? SchedulerManagementAction::LIST;
// Add new task form / edit existing task form.
if ($queryAction === SchedulerManagementAction::ADD) {
return $this->renderAddTaskFormView($view, $request);
}
at TYPO3\CMS\Scheduler\Controller\SchedulerModuleController->handleRequest(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/typo3/sysext/backend/Classes/Http/RouteDispatcher.php line 77
$targetIdentifier = $route->getOption('target');
$target = $this->getCallableFromTarget($targetIdentifier);
$arguments = [$request];
return $target(...$arguments);
}
/**
* Evaluates HTTP `Referer` header (which is denied by client to be a custom
at TYPO3\CMS\Backend\Http\RouteDispatcher->dispatch(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/typo3/sysext/backend/Classes/Http/RequestHandler.php line 104
// there are Core classes that need the Request object but do not get it handed in
$this->resetGlobalsToCurrentRequest($request);
try {
// Check if the router has the available route and dispatch.
return $this->dispatcher->dispatch($request);
} catch (MissingRequestTokenException $e) {
// When token was missing, then redirect to login, but keep the current route as redirect after login
$loginUrl = $this->uriBuilder->buildUriWithRedirect(
'login',
at TYPO3\CMS\Backend\Http\RequestHandler->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/typo3/sysext/core/Classes/Middleware/ResponsePropagation.php line 34
{
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
try {
$response = $handler->handle($request);
} catch (PropagateResponseException $e) {
$response = $e->getResponse();
}
at TYPO3\CMS\Core\Middleware\ResponsePropagation->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(TYPO3\CMS\Backend\Http\RequestHandler))
in /var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$239->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/typo3/sysext/backend/Classes/Middleware/SiteResolver.php line 65
$rootLine = BackendUtility::BEgetRootLine($pageId);
}
$site = $this->siteMatcher->matchByPageId($pageId, $rootLine);
$request = $request->withAttribute('site', $site);
return $handler->handle($request);
}
}
at TYPO3\CMS\Backend\Middleware\SiteResolver->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$239))
in /var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$239->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/typo3/sysext/backend/Classes/Middleware/SudoModeInterceptor.php line 52
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
try {
return $handler->handle($request);
} catch (VerificationRequiredException $exception) {
return $this->handleVerificationRequired($exception);
} catch (RequestGrantedException $exception) {
return $this->handleRequestGrantedException($exception);
at TYPO3\CMS\Backend\Middleware\SudoModeInterceptor->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$239))
in /var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$239->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/typo3/sysext/backend/Classes/Middleware/AdditionalResponseHeaders.php line 37
* Adds HTTP headers defined in $GLOBALS['TYPO3_CONF_VARS']['BE']['HTTP']['Response']['Headers']
*/
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
$response = $handler->handle($request);
// Remove HSTS header, if [BE][lockSSL] is not configured to use SSL
if ((bool)$GLOBALS['TYPO3_CONF_VARS']['BE']['lockSSL'] === false) {
unset($GLOBALS['TYPO3_CONF_VARS']['BE']['HTTP']['Response']['Headers']['strictTransportSecurity']);
at TYPO3\CMS\Backend\Middleware\AdditionalResponseHeaders->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$239))
in /var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$239->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/typo3/sysext/backend/Classes/Middleware/ContentSecurityPolicyHeaders.php line 50
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
$request = $request->withAttribute('nonce', new ConsumableString($this->requestId->nonce->b64));
$response = $handler->handle($request);
$scope = Scope::backend();
if ($response->hasHeader('Content-Security-Policy') || $response->hasHeader('Content-Security-Policy-Report-Only')) {
$this->logger->info('Content-Security-Policy not enforced due to existence of custom header', [
at TYPO3\CMS\Backend\Middleware\ContentSecurityPolicyHeaders->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$239))
in /var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$239->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/typo3/sysext/backend/Classes/Middleware/OutputCompression.php line 43
ob_clean();
// Initialize output compression if configured
$this->initializeOutputCompression();
return $handler->handle($request);
}
/**
* Initialize output compression if configured
at TYPO3\CMS\Backend\Middleware\OutputCompression->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$239))
in /var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$239->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/typo3/sysext/backend/Classes/Middleware/BackendModuleValidator.php line 152
$request = $request
->withAttribute('module', $module)
->withAttribute('moduleData', $moduleData);
$response = $handler->handle($request);
if ($ensureToPersistUserSettings) {
$backendUser->writeUC();
}
at TYPO3\CMS\Backend\Middleware\BackendModuleValidator->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$239))
in /var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$239->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/typo3/sysext/backend/Classes/Middleware/BackendUserAuthenticator.php line 158
}
$GLOBALS['LANG'] = $this->languageServiceFactory->createFromUserPreferences($GLOBALS['BE_USER']);
// Re-setting the user and take the workspace from the user object now
$this->setBackendUserAspect($GLOBALS['BE_USER']);
$response = $handler->handle($request);
$this->sessionGarbageCollection();
return $this->enrichResponseWithHeadersAndCookieInformation($request, $response, $GLOBALS['BE_USER']);
}
at TYPO3\CMS\Backend\Middleware\BackendUserAuthenticator->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$239))
in /var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$239->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/typo3/sysext/core/Classes/Middleware/RequestTokenMiddleware.php line 71
$this->securityAspect->setReceivedRequestToken(false);
$this->logger->debug('Could not resolve request token', ['exception' => $exception]);
}
$response = $handler->handle($request);
return $this->enrichResponseWithCookie($request, $response);
}
protected function resolveNoncePool(ServerRequestInterface $request): NoncePool
at TYPO3\CMS\Core\Middleware\RequestTokenMiddleware->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$239))
in /var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$239->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/typo3/sysext/backend/Classes/Middleware/BackendRouteInitialization.php line 81
$uri = $this->uriBuilder->buildUriFromRoute('login');
return new RedirectResponse($uri);
}
return $handler->handle($request);
}
}
at TYPO3\CMS\Backend\Middleware\BackendRouteInitialization->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$239))
in /var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$239->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/typo3/sysext/backend/Classes/Middleware/ContentSecurityPolicyReporter.php line 41
// @todo create report, then call persist, then dispatch new event
$this->persistCspReport($scope, $request);
return new NullResponse();
}
return $handler->handle($request);
}
}
at TYPO3\CMS\Backend\Middleware\ContentSecurityPolicyReporter->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$239))
in /var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$239->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/typo3/sysext/backend/Classes/Middleware/ForcedHttpsBackendRedirector.php line 56
->withPort($sslPortSuffix);
return new RedirectResponse($backendUrl);
}
return $handler->handle($request);
}
}
at TYPO3\CMS\Backend\Middleware\ForcedHttpsBackendRedirector->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$239))
in /var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$239->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/typo3/sysext/backend/Classes/Middleware/LockedBackendGuard.php line 71
$request->getAttribute('normalizedParams')->getRemoteAddress(),
trim((string)$GLOBALS['TYPO3_CONF_VARS']['BE']['IPmaskList'])
);
return $handler->handle($request);
}
/**
* Check adminOnly configuration variable and redirects to an URL in file typo3conf/LOCK_BACKEND
at TYPO3\CMS\Backend\Middleware\LockedBackendGuard->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$239))
in /var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$239->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/typo3/sysext/core/Classes/Middleware/NormalizedParamsAttribute.php line 41
*/
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
$request = $request->withAttribute('normalizedParams', NormalizedParams::createFromRequest($request));
return $handler->handle($request);
}
}
at TYPO3\CMS\Core\Middleware\NormalizedParamsAttribute->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$239))
in /var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$239->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/typo3/sysext/core/Classes/Middleware/VerifyHostHeader.php line 55
1396795884
);
}
return $handler->handle($request);
}
/**
* Checks if the provided host header value matches the trusted hosts pattern.
at TYPO3\CMS\Core\Middleware\VerifyHostHeader->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$239))
in /var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$239->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 70
* Invoke the middleware stack
*/
public function handle(ServerRequestInterface $request): ResponseInterface
{
return $this->tip->handle($request);
}
/**
* Seed the middleware stack with the inner request handler
at TYPO3\CMS\Core\Http\MiddlewareDispatcher->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/typo3/sysext/core/Classes/Http/AbstractApplication.php line 80
public function handle(ServerRequestInterface $request): ResponseInterface
{
try {
$response = $this->requestHandler->handle($request);
} catch (ImmediateResponseException $exception) {
$response = $exception->getResponse();
}
return $response;
at TYPO3\CMS\Core\Http\AbstractApplication->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/typo3/sysext/backend/Classes/Http/Application.php line 58
$request = $request->withAttribute('applicationType', SystemEnvironmentBuilder::REQUESTTYPE_BE);
// Set up the initial context
$this->initializeContext();
return parent::handle($request);
}
/**
* Create a PSR-7 Response that redirects to the install tool
at TYPO3\CMS\Backend\Http\Application->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/typo3/sysext/core/Classes/Http/AbstractApplication.php line 92
* Set up the application and shut it down afterwards
*/
final public function run()
{
$response = $this->handle(ServerRequestFactory::fromGlobals());
$this->sendResponse($response);
}
}
at TYPO3\CMS\Core\Http\AbstractApplication->run()
in /var/www/html/typo3/index.php line 20
// Set up the application for the backend
call_user_func(static function () {
$classLoader = require dirname(__DIR__).'/vendor/autoload.php';
\TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::run(1, \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::REQUESTTYPE_BE);
\TYPO3\CMS\Core\Core\Bootstrap::init($classLoader)->get(\TYPO3\CMS\Backend\Http\Application::class)->run();
});
at {closure}()
in /var/www/html/typo3/index.php line 21
call_user_func(static function () {
$classLoader = require dirname(__DIR__).'/vendor/autoload.php';
\TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::run(1, \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::REQUESTTYPE_BE);
\TYPO3\CMS\Core\Core\Bootstrap::init($classLoader)->get(\TYPO3\CMS\Backend\Http\Application::class)->run();
});