aboutsummaryrefslogtreecommitdiffstats
path: root/apps/theming/appinfo/app.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-10-25 14:46:00 +0200
committerGitHub <noreply@github.com>2016-10-25 14:46:00 +0200
commit89574367bcc57da5eda6d13ffcfd8a12de68ea26 (patch)
tree8947e9bdc83b55521a4fa52c40e82c6ee7646701 /apps/theming/appinfo/app.php
parent27ba46c40ed1d365965a1cb79ed7d8a38d759d2c (diff)
parentee8b8adf7a62fe4b3823cf803f5f37da3bc6a410 (diff)
downloadnextcloud-server-89574367bcc57da5eda6d13ffcfd8a12de68ea26.tar.gz
nextcloud-server-89574367bcc57da5eda6d13ffcfd8a12de68ea26.zip
Merge pull request #1871 from nextcloud/use-csp-nonces
Use CSP nonces
Diffstat (limited to 'apps/theming/appinfo/app.php')
-rw-r--r--apps/theming/appinfo/app.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/theming/appinfo/app.php b/apps/theming/appinfo/app.php
index e67092b642f..152504c4179 100644
--- a/apps/theming/appinfo/app.php
+++ b/apps/theming/appinfo/app.php
@@ -47,6 +47,7 @@ $linkToJs = \OC::$server->getURLGenerator()->linkToRoute(
'script',
[
'src' => $linkToJs,
+ 'nonce' => \OC::$server->getContentSecurityPolicyNonceManager()->getNonce()
], ''
);