Skip to content

Commit 4c01326

Browse files
committed
add docs for useJsNonce
Signed-off-by: Pavel Krasikov <klonishe@gmail.com>
1 parent e921e27 commit 4c01326

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ public function allowInlineScript($state = false) {
9595

9696
/**
9797
* Use the according JS nonce
98+
* This method is only for CSPMiddleware, custom values are ignored in mergePolicies of ContentSecurityPolicyManager
9899
*
99100
* @param string $nonce
100101
* @return $this

0 commit comments

Comments
 (0)