mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-07 16:37:02 +03:00
Bugfix: invalid CSP report-uri
This commit is contained in:
parent
9ff3e94870
commit
fabc162481
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ class CSP
|
||||||
{
|
{
|
||||||
// report-uri deprecated
|
// report-uri deprecated
|
||||||
unset($this->directives['report-uri']);
|
unset($this->directives['report-uri']);
|
||||||
if ($this->report) {
|
if ($this->report || $this->report_only) {
|
||||||
$this->directives['report-uri'] = [\RainLoop\Utils::WebPath() . '?/CspReport'];
|
$this->directives['report-uri'] = [\RainLoop\Utils::WebPath() . '?/CspReport'];
|
||||||
}
|
}
|
||||||
$params = [];
|
$params = [];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue