diff --git a/src/Helpers/CSPConvertor.php b/src/Helpers/CSPConvertor.php index 86d9a39..1b5a9e9 100644 --- a/src/Helpers/CSPConvertor.php +++ b/src/Helpers/CSPConvertor.php @@ -96,6 +96,7 @@ public static function toYml($response, $return = false) rsort($parts); $arrayHeader[$key]['allow'] = $parts; } + $arrayHeader['default-src']['self'] = true; // Always allow self $data = [ CSPBackend::class => [ 'csp_config' => $arrayHeader