set default CSP on NotFoundResponsetags/v18.0.0beta1
@@ -37,6 +37,7 @@ class NotFoundResponse extends Response { | |||
public function __construct() { | |||
parent::__construct(); | |||
$this->setContentSecurityPolicy(new ContentSecurityPolicy()); | |||
$this->setStatus(404); | |||
} | |||