CSP compliance
-
Hi there,
First off, thanks for the amazing work you’ve been providing!
I’m creating this topic because it doesn’t seem to have been opened yet ; I hope I’m not creating a clone.
We’ve been working on implementing a content security policy (CSP) on various WordPress websites with CLI installed on.
As for now, if I’m not mistaken there is no simple solution to add any hash or nonce attribute to the differrent inline scripts written by your plugin ; is there any chance that the new WordPress functions can see implemented in future versions?
Introducing script attributes related functions in WordPress 5.7
For the moment, we can just add the non-compiled and compiled hashes from the scripts to the CSP, but that’s not the best move. ??
Cheers,
Charlie
- The topic ‘CSP compliance’ is closed to new replies.