diff --git a/Classes/Finisher/RedirectFinisher.php b/Classes/Finisher/RedirectFinisher.php index a4ecbd1..1bbc473 100644 --- a/Classes/Finisher/RedirectFinisher.php +++ b/Classes/Finisher/RedirectFinisher.php @@ -19,6 +19,7 @@ public function redirectToUriFinisher(): void $redirectService = GeneralUtility::makeInstance(RedirectUriService::class, $this->contentObject); $uri = $redirectService->getRedirectUri(); if (!empty($uri) && $this->isRedirectEnabled()) { + header('Content-Type: application/json'); echo json_encode([ 'redirectUrl' => $uri, 'statusCode' => 303,