CSP & CSP Report Concatenation Issue
-
I’m encountering a Content Security Policy (CSP) / CSP Report Only issue where the
Host
entries in the WP Hide settings are being concatenated incorrectly, causing CSP violations in my browser. There is no written advice or instructions on how to separate hosts in these fields.Steps I’m taking:
- I enter multiple hosts (e.g.,
https://fonts.googleapis.com
andhttps://use.fontawesome.com
)in CSP or CSPRO fields (such asscript-src
orstyle-src
) - Save the settings.
- Check the CSP header in the browser’s Developer Tools.
Observed Behaviour: The hosts are concatenated into a single invalid entry.
Required output: Each host should appear as a separate entry in the CSP header.
Please help me do this. I have tried to keep these hosts separated with many experiments but it is not working. Thank you in advance.
- I enter multiple hosts (e.g.,
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.