-
Notifications
You must be signed in to change notification settings - Fork 20
removeCSPSource
Aidan Woods edited this page Jul 16, 2017
·
2 revisions
void removeCSPSource (
string $directive
, string $source
[, mixed $reportOnly = null ]
)
Remove a previously added source from a CSP directive.
The directive (case insensitive) in which the source to be removed resides.
The source (case insensitive) to remove.
Loosely casted as a boolean, true
ensures the function acts on the
report only policy, false
(the default, as null
casts to false)
ensures the function acts on the enforced policy.