diff --git a/classes/Middleware/CspMiddleware.php b/classes/Middleware/CspMiddleware.php index 8e6ad73..c3c72ff 100644 --- a/classes/Middleware/CspMiddleware.php +++ b/classes/Middleware/CspMiddleware.php @@ -40,10 +40,10 @@ class CspMiddleware $csp->addDirective('default-src', []) ->addDirective('font-src', ['self' => true]) ->addDirective('style-src', ['self' => true]) - ->addDirective('form-action', ['self' => true]) ->addDirective('manifest-src', ['self' => true]) ->addDirective('base-uri', []) ->addDirective('frame-ancestors', []) + ->addSource('form-action', '*') ->addSource('img-src', '*'); if ($this->config->debug) {