Iframe content blocked in Custom Files

Hi everyone,

I’m experiencing an issue using the <iframe> tag in Custom Files with PHPMaker 2025.

In previous versions, everything worked fine, but now the iframe content is blocked when loading the page. For example, even a simple test like this:

<iframe title="Wikipedia" width="1024" height="650" src="https://www.wikipedia.org" frameborder="0" allowfullscreen></iframe>

You may simply add the following code into Server Events → Global → All Pages → Global Code:

Config()->append("CSP.frame-src.allow", "https://www.wikipedia.org");

then re-generate userfn.php file, and try again.

1 Like

Thanks! It worked out!