If you activate a policy which does not have any directives set, a warning is thrown:

Warning: Invalid argument supplied for foreach() in _content_security_policy_to_string() (line 281 of /sites/all/modules/content_security_policy/content_security_policy.module).
CommentFileSizeAuthor
#1 csp_empty_policies.patch1.67 KBmr.baileys

Comments

mr.baileys’s picture

Status: Active » Fixed
StatusFileSize
new1.67 KB

Fixed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.