mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 12:09:20 +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
|
||||
unset($this->directives['report-uri']);
|
||||
if ($this->report) {
|
||||
if ($this->report || $this->report_only) {
|
||||
$this->directives['report-uri'] = [\RainLoop\Utils::WebPath() . '?/CspReport'];
|
||||
}
|
||||
$params = [];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue