#104873Guard access to $site->getConfiguration()['contentSecurityPolicies']
Description
We have experienced some issues where
$site->getConfiguration()['contentSecurityPolicies']
results in a PHP warning since ‘contentSecurityPolicies’ is not set in the site configuration.
Instead the access should be guarded with a?? [] clause
Reviews 2
History 25
-
Gerrit Code Review pushed patch set 1 for main to change 85977 status
NewUnder Review 09/10/24, 10:03 -
Gerrit Code Review pushed patch set 2 for main to change 85977 09/10/24, 13:15
-
Gerrit Code Review pushed patch set 1 for 12.4 to change 85954 09/10/24, 14:38
-
Anonymous commented and changed status
Under ReviewResolved done0 %100 % 09/10/24, 14:40 -
Benni Mack changed status
ResolvedClosed 10/15/24, 09:06
Applied in changeset commit:93b7b68a6097edca48bdc0b5b07ec4995715e364.