mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Added a couple of additional CSP rules
As per guidance from google's CSP evaluator.
This commit is contained in:
@ -38,6 +38,8 @@ class ApplyCspRules
|
||||
|
||||
$this->cspService->setFrameAncestors($response);
|
||||
$this->cspService->setScriptSrc($response);
|
||||
$this->cspService->setObjectSrc($response);
|
||||
$this->cspService->setBaseUri($response);
|
||||
|
||||
return $response;
|
||||
}
|
||||
|
Reference in New Issue
Block a user