Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/files_texteditor.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2019-01-24 22:59:11 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2019-01-24 22:59:11 +0300
commit245f700de40c453d64aa9776c076e7f20a6dad91 (patch)
tree9663c90efa9254cda8c77fb9c8c0371c845eace2 /appinfo
parentb7059f8d3a8c250e402130aaffe8d5b672014648 (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.php2
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);
});