Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
The Content-Security-Policy directive name 'Content-Security-Policy:' contains one or more invalid characters. Only ASCII alphanumeric characters or dashes '-' are allowed in directive names.
I am getting this error.
I have mentioned directive like this below.
<add name="Content-Security-Policy" value="default-src *; style-src * 'unsafe-inline'; script-src * 'unsafe-inline' 'unsafe-eval' blob:; img-src * data: 'unsafe-inline'; connect-src * 'unsafe-inline'; frame-src *;"/>
Hi there
Try this tool https://csp-evaluator.withgoogle.com/
The CSP is a http header or html meta tag, it doesn't go in your web config settings
Yes, it does, Huw.
In v8 you can add it to your web.config under the <customHeaders> tag.
<customHeaders>
My bad, I misread an thought they were adding to app settings.
The issue is most likely the colon : after blob.
It's not really an umbraco issue.
Yeah, I thought about that colon too :)
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
blob
The Content-Security-Policy directive name 'Content-Security-Policy:' contains one or more invalid characters. Only ASCII alphanumeric characters or dashes '-' are allowed in directive names.
I am getting this error.
I have mentioned directive like this below.
Hi there
Try this tool https://csp-evaluator.withgoogle.com/
The CSP is a http header or html meta tag, it doesn't go in your web config settings
Yes, it does, Huw.
In v8 you can add it to your web.config under the
<customHeaders>
tag.My bad, I misread an thought they were adding to app settings.
The issue is most likely the colon : after blob.
It's not really an umbraco issue.
Yeah, I thought about that colon too :)
is working on a reply...