Bugfix: Content Security Policy: Directive ‘frame-src’ has been deprecated.

This commit is contained in:
djmaze 2020-11-04 22:59:32 +01:00
parent 21fe3aa25c
commit 65030bf8d8

View file

@ -406,7 +406,7 @@ class ServiceActions
if (\method_exists($this->oActions, $sMethodName))
{
\header('X-Raw-Action: '.$sMethodName, true);
\header('Content-Security-Policy: script-src \'none\'; frame-src \'none\'; child-src \'none\'', true);
\header('Content-Security-Policy: script-src \'none\'; child-src \'none\'', true);
$sRawError = '';
$this->oActions->SetActionParams(array(