x-content-security-policy header
-
Hi!
Thank you for this great plugin! Looking at my response headers I’ve just noticed that both the deprecated “x-content-security-policy” and the new/standardized “content-security-policy” headers were sent. Is this intentional for any reason? Is the old format still necessary?
https://content-security-policy.com/
Note: It is known that having both Content-Security-Policy and X-Content-Security-Policy or X-Webkit-CSP causes unexpected behaviours on certain versions of browsers. Please avoid using deprecated X-* headers.
https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP
To enable CSP, you need to configure your web server to return the Content-Security-Policy HTTP header. (Sometimes you may see mentions of the X-Content-Security-Policy header, but that’s an older version and you don’t need to specify it anymore.)
Thank You!
- The topic ‘x-content-security-policy header’ is closed to new replies.