-
Notifications
You must be signed in to change notification settings - Fork 0
Error: CSP 0402
Ryan Parman edited this page Jun 14, 2024
·
3 revisions
[ERROR] directive
%s
: URL%s
is missing a SCHEME, which is required [CSP-0402]
For directives which are classified as reporting URIs, they MUST be valid URLs.
We use a URL parser which aligns with the WHATWG URL Living Standard (2023-05-24 snapshot). We use this to validate that the URL is, in fact, a URL. If not, this error will be returned.
This error is presented when the reporting-uri
URL is missing a scheme (e.g., https://
, wss://
, webdav://
).
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