v2026
thought all was working until i realized i had enabled a CSP remover plugin during testing....
i am trying to allow iframes:
Config()->append("CSP.frame-ancestors.allow", "http://mydomain.com");
Config()->append("CSP.frame-ancestors.self", "http://mydomain.com");
or whatever will allow iframes.
as well as in ht .htaccess as:
<IfModule mod_headers.c>
Header always append Content-Security-Policy "frame-ancestors 'self' https://mydomain.com;"
</IfModule>
as well as in config.php
'frame-ancestors' => [
'self' => true,
'allow' => [
'https://mydomain.com',
],
],
it continues to insist that: "violates the following Content Security Policy directive: "frame-ancestors 'none'""
are iframes now allowed to be used on the internet any longer?
but for some reason works in Edge.
thanks
JS