X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/253f386f006eb0bcdf1151008b75213e96c4edf9..refs/pull/3298/head:/app/Http/Middleware/ApplyCspRules.php diff --git a/app/Http/Middleware/ApplyCspRules.php b/app/Http/Middleware/ApplyCspRules.php index 4c2b1e1da..6c9d14e7b 100644 --- a/app/Http/Middleware/ApplyCspRules.php +++ b/app/Http/Middleware/ApplyCspRules.php @@ -8,7 +8,6 @@ use Illuminate\Http\Request; class ApplyCspRules { - /** * @var CspService */ @@ -38,8 +37,9 @@ class ApplyCspRules $this->cspService->setFrameAncestors($response); $this->cspService->setScriptSrc($response); + $this->cspService->setObjectSrc($response); + $this->cspService->setBaseUri($response); return $response; } - }