File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -258,7 +258,7 @@ private static function buildContentSecurityPolicyHeader() {
258
258
259
259
// Report-To support
260
260
if (MiscellaneousHeaderSettings::get ('report_to ' )) {
261
- $ directives [] = \sprintf ('report-to %s; ' , self ::CSP_REPORT_TO_GROUP );
261
+ $ directives [] = \sprintf ('report-to %s ' , self ::CSP_REPORT_TO_GROUP );
262
262
}
263
263
264
264
if (count (array_filter ($ directives )) > 0 ) {
Original file line number Diff line number Diff line change @@ -53,7 +53,6 @@ private function setSystemControllerHeaders(Response $response) {
53
53
HeaderBuilder::addFrameOptions ($ response );
54
54
HeaderBuilder::addContentTypeOptions ($ response );
55
55
HeaderBuilder::addXSSProtection ($ response );
56
- HeaderBuilder::addReportTo ($ response );
57
56
}
58
57
59
58
/**
You can’t perform that action at this time.
0 commit comments