-
Notifications
You must be signed in to change notification settings - Fork 0
Error: CSP 0200
Ryan Parman edited this page Jun 14, 2024
·
3 revisions
[ERROR] directive
%s
has an invalid value%s
[CSP-0200]
For directives which are classified as ancestor expressions, they allow the following types of values:
'none'
- A scheme like
https:
orwss:
- A host like
example.com
(internationalized domain names are not permitted and must be converted to punycode first) - A keyword like
'self'
- A nonce (although this is highly unusual except for <script> or <style> elements)
- A
sha256
hash of the content (although this is highly unusual except for <script> or <style> elements)
This error message means that the value does not match expected/correct patterns for any of these types.
Content licensed under CC BY-SA.
- 🧪 Experimental, with limited support
⚠️ Important notes on usage- 🚫 Deprecated or obsolete
- base-uri
- block-all-mixed-content 🚫
- child-src
- connect-src
- default-src
- fenced-frame-src 🧪
- font-src
- form-action
- frame-ancestors
- frame-src
- img-src
- manifest-src
- media-src
- navigate-to 🚫
- object-src
- plugin-types 🚫
- prefetch-src 🚫
- referrer 🚫
- report-to 🧪
-
report-uri
⚠️ - require-trusted-types-for 🧪
- sandbox
- script-src-attr
- script-src-elem
- script-src
- style-src-attr
- style-src-elem
- style-src
- trusted-types 🧪
- upgrade-insecure-requests
- webrtc
- worker-src