Download in Iframe disallowed


I am facing an issue after my last update (
I am using nextcloud in an Iframe in Oragnizr and I can do everything except download files like I am used to.
Chrome is giving me this error:
Download is disallowed. The frame initiating or instantiating the download is sandboxed, but the flag ‘allow-downloads’ is not set.

I know I have to edit ContentSecurityPolicy.php and OC_Response.php in order to fix it but I do not know how exactly.

Anybody have a suggestion?

Thank you.


I found this website for you.

I already tried all this and it allows me to display the website in iFrame. But I still have the download disallowed.