aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2024-08-13 09:51:24 +0200
committerFerdinand Thiessen <opensource@fthiessen.de>2024-08-13 10:06:32 +0200
commit009761be58c4485f29a8d3382e51fb4e1bfbeec4 (patch)
tree3be1783ef819cd853c6ab61e3133a97107b004b9 /lib/public
parent86f01a3358df1c5b9c8c8f78ffa46f2cf234b0e3 (diff)
downloadnextcloud-server-009761be58c4485f29a8d3382e51fb4e1bfbeec4.tar.gz
nextcloud-server-009761be58c4485f29a8d3382e51fb4e1bfbeec4.zip
test: Adjust tests for CSP nonce
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php b/lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php
index 7772f2f3f3c..d638e8ae0af 100644
--- a/lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php
+++ b/lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php
@@ -89,7 +89,7 @@ class EmptyContentSecurityPolicy {
}
/**
- * Use the according base64 encoded JS nonce
+ * The base64 encoded nonce to be used for script source.
* This method is only for CSPMiddleware, custom values are ignored in mergePolicies of ContentSecurityPolicyManager
*
* @param string $nonce