diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2019-01-24 22:59:11 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-01-24 22:59:11 +0300 |
commit | 245f700de40c453d64aa9776c076e7f20a6dad91 (patch) | |
tree | 9663c90efa9254cda8c77fb9c8c0371c845eace2 /appinfo | |
parent | b7059f8d3a8c250e402130aaffe8d5b672014648 (diff) |
Update the CSP to use workerSrc
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/app.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/appinfo/app.php b/appinfo/app.php index d7399f8..756ac67 100644 --- a/appinfo/app.php +++ b/appinfo/app.php @@ -10,7 +10,7 @@ if (\OC::$server->getUserSession()->isLoggedIn()) { $cspManager = \OC::$server->getContentSecurityPolicyManager(); $csp = new \OCP\AppFramework\Http\ContentSecurityPolicy(); - $csp->addAllowedChildSrcDomain("'self'"); + $csp->addAllowedWorkerSrcDomain("'self'"); $csp->addAllowedScriptDomain('blob:'); $cspManager->addDefaultPolicy($csp); }); |