]> source.dussan.org Git - nextcloud-server.git/commitdiff
add docs for useJsNonce 19967/head
authorPavel Krasikov <klonishe@gmail.com>
Sun, 15 Mar 2020 14:02:11 +0000 (17:02 +0300)
committerPavel Krasikov <klonishe@gmail.com>
Sun, 15 Mar 2020 14:02:11 +0000 (17:02 +0300)
Signed-off-by: Pavel Krasikov <klonishe@gmail.com>
lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php

index 1f6dfa3adde1188f4ece408abdbc0aa575e93c6b..066569d63c61bf3897de5cd9c460dd40d04f1153 100644 (file)
@@ -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