diff --git a/lib/Middleware/InjectionMiddleware.php b/lib/Middleware/InjectionMiddleware.php index 70f7081d2e..dfd70fb554 100644 --- a/lib/Middleware/InjectionMiddleware.php +++ b/lib/Middleware/InjectionMiddleware.php @@ -195,6 +195,7 @@ public function afterException($controller, $methodName, \Exception $exception): ); $policy = new ContentSecurityPolicy(); + $policy->allowEvalScript(true); $policy->addAllowedFrameDomain('\'self\''); $response->setContentSecurityPolicy($policy); return $response;