Ive had True Download 2 for a couple of years and never yet managed to get it to work. I can’t see that Im missing anything as the settings are relatively simple. But its not working so something is going a miss!!
Help please.
Here is a page that I have installed it on. Its at the bottom of the page.
The source list for Content Security Policy directive 'script-src' contains an invalid source: ''strict-dynamic''. It will be ignored.
This looks custom, like I haven’t seen it before. So the best bet is to speak to your host about this.
The php file is working completely because the download count increments, but the file is being blocked by some security measure (I suspect custom to your host).
Gary can add this to do the Stack. It’d go in the <head> section of the Stack/site. He just needs to set the proper policy-definition for Safari. Another way to set the policy is via a .htaccess file but the easiest way would be inside the Stack and HTML directly.
I’ll look at it in the new year. I’m a little sceptical this is the fix, as the demo shows no such error in Safari. The only difference being the server environment. But, we’ll give it a go.
Edit: I will have a deep dive in the new year, but a quick read up there, makes me think it’s extremely unwise to add this to the stack, as I believe I will either end up blocking other file sources, or force the page to accept any source of files without the owner realising.