summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPavel Krasikov <klonishe@gmail.com>2020-03-15 17:02:11 +0300
committerPavel Krasikov <klonishe@gmail.com>2020-03-15 17:02:11 +0300
commit4c01326913425a9b184f6d3cb367b8a225ae6f68 (patch)
treee785eaf9a87e4bd898ee23177cde91714fd39d4a /lib
parente921e27a39a2e8b6fdb2ce5a861d39f68a3d37c6 (diff)
downloadnextcloud-server-4c01326913425a9b184f6d3cb367b8a225ae6f68.tar.gz
nextcloud-server-4c01326913425a9b184f6d3cb367b8a225ae6f68.zip
add docs for useJsNonce
Signed-off-by: Pavel Krasikov <klonishe@gmail.com>
Diffstat (limited to 'lib')
-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