Simplified .ContentSecurityPolicy rules

2022-08-31

It's now easier to define .ContentSecurityPolicy rules as one can mix the simple and the fully-defined format within the same file.

For example, this would now be allowed:

https://example.com
script-src 'unsafe-inline'

Read the updated .ContentSecurityPolicy docs.


Cheers,

you can follow me on Twitter