skip to Main Content

WordPress – cannot retrieve csp-report request body from report-uri

I’ve tried to follow mozilla guide lines for setting up report-uri in CSP-Report-Only mode. My CSP: function add_csp_header() { header("Content-Security-Policy-Report-Only: report-uri ".get_bloginfo('url')."/csp-endpoint; script-src 'self'"); //some more, since only one header is rejected } add_action('send_headers', 'add_csp_header',10); The csp-endpoint file at the…

VIEW QUESTION
Back To Top
Search