From 4c01326913425a9b184f6d3cb367b8a225ae6f68 Mon Sep 17 00:00:00 2001 From: Pavel Krasikov Date: Sun, 15 Mar 2020 17:02:11 +0300 Subject: [PATCH] add docs for useJsNonce Signed-off-by: Pavel Krasikov --- lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php | 1 + 1 file changed, 1 insertion(+) 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