summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-03-17 15:09:50 +0100
committerGitHub <noreply@github.com>2020-03-17 15:09:50 +0100
commit458ec33aa2d329f804a460433294594fa0743f97 (patch)
tree575a560982c4fced53268b15f956c5ed7b466de4 /lib/public
parente193e14a089e5650680ddd75fc4ebdef567d5fac (diff)
parent4c01326913425a9b184f6d3cb367b8a225ae6f68 (diff)
downloadnextcloud-server-458ec33aa2d329f804a460433294594fa0743f97.tar.gz
nextcloud-server-458ec33aa2d329f804a460433294594fa0743f97.zip
Merge pull request #19967 from roscomputing/enh/19958/usejsnoncedocs
add docs for useJsNonce
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php b/lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php
index 1f6dfa3adde..066569d63c6 100644
--- a/lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php
+++ b/lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php
@@ -95,6 +95,7 @@ class EmptyContentSecurityPolicy {
/**
* Use the according JS nonce
+ * This method is only for CSPMiddleware, custom values are ignored in mergePolicies of ContentSecurityPolicyManager
*
* @param string $nonce
* @return $this