aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/AppFramework
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2022-05-05 17:26:48 +0200
committerGitHub <noreply@github.com>2022-05-05 17:26:48 +0200
commit7718c9776c5903474b8f3cf958cdd18a53b2449e (patch)
treea5b2a2535f7a2aea6fbce361df6a52b3e229ad85 /lib/public/AppFramework
parent0690646d09430ce363b07bc2cd59283e303314eb (diff)
parent18c013d8fc0d95249136799c5c0e67994766d953 (diff)
downloadnextcloud-server-7718c9776c5903474b8f3cf958cdd18a53b2449e.tar.gz
nextcloud-server-7718c9776c5903474b8f3cf958cdd18a53b2449e.zip
Merge pull request #32113 from nextcloud/bugfix/noid/fix-csp-merging-bools
Add CSP policy merge priority for booleans
Diffstat (limited to 'lib/public/AppFramework')
-rw-r--r--lib/public/AppFramework/Http/ContentSecurityPolicy.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/AppFramework/Http/ContentSecurityPolicy.php b/lib/public/AppFramework/Http/ContentSecurityPolicy.php
index 3a91e3dc2a7..0e3a6a705d5 100644
--- a/lib/public/AppFramework/Http/ContentSecurityPolicy.php
+++ b/lib/public/AppFramework/Http/ContentSecurityPolicy.php
@@ -45,7 +45,7 @@ class ContentSecurityPolicy extends EmptyContentSecurityPolicy {
/** @var bool Whether eval in JS scripts is allowed */
protected $evalScriptAllowed = false;
/** @var bool Whether strict-dynamic should be set */
- protected $strictDynamicAllowed = null;
+ protected $strictDynamicAllowed = false;
/** @var array Domains from which scripts can get loaded */
protected $allowedScriptDomains = [
'\'self\'',