Skip to content

Commit 458ec33

Browse files
authored
Merge pull request #19967 from roscomputing/enh/19958/usejsnoncedocs
add docs for useJsNonce
2 parents e193e14 + 4c01326 commit 458ec33

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)