diff --git a/application/Espo/EntryPoints/Attachment.php b/application/Espo/EntryPoints/Attachment.php index 4a9fbc33d4..b8ec347028 100644 --- a/application/Espo/EntryPoints/Attachment.php +++ b/application/Espo/EntryPoints/Attachment.php @@ -111,6 +111,7 @@ class Attachment implements EntryPoint $response ->setHeader('Pragma', 'public') ->setHeader('Content-Length', (string) $size) + ->setHeader('Content-Security-Policy', "default-src 'self'") ->setBody($stream); }