mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-07 00:17:03 +03:00
Bugfix: Content Security Policy: Directive ‘frame-src’ has been deprecated.
This commit is contained in:
parent
21fe3aa25c
commit
65030bf8d8
1 changed files with 1 additions and 1 deletions
|
|
@ -406,7 +406,7 @@ class ServiceActions
|
||||||
if (\method_exists($this->oActions, $sMethodName))
|
if (\method_exists($this->oActions, $sMethodName))
|
||||||
{
|
{
|
||||||
\header('X-Raw-Action: '.$sMethodName, true);
|
\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 = '';
|
$sRawError = '';
|
||||||
$this->oActions->SetActionParams(array(
|
$this->oActions->SetActionParams(array(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue