Skip to content

Error: CSP 0403

Ryan Parman edited this page Jun 14, 2024 · 3 revisions

Overview

[ERROR] directive %s: URL %s includes a FRAGMENT, which is disallowed [CSP-0403]

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 includes a fragment (e.g., #fragment). URL fragments are disallowed in reporting-uri URLs.

Directives which may trigger this error

Clone this wiki locally