A directive appears twice in one policy, and browsers ignore the second one.
CSP_DUPLICATE_DIRECTIVE · Severity: Warning
- Warning
CSP_DUPLICATE_DIRECTIVEA directive appears twice in one policy, and browsers ignore the second one.
CSP uses the first occurrence of a directive and drops later ones, so sources added in the repeated directive have no effect.
Recommendation: Merge the sources into one directive.
Reported by
Available through the API
Related findings
- Info
CSP_DEPRECATED_DIRECTIVEThe policy uses a directive that has been removed from CSP. - Error
CSP_EMPTY_POLICYThe pasted Content-Security-Policy has no directives. - Info
CSP_MISSINGThe HTTPS site sends no Content-Security-Policy header. - Info
CSP_NO_BASE_URIThe policy does not restrict the base element (base-uri). - Warning
CSP_NO_DEFAULT_SRCThe policy has no default-src directive. - Warning
CSP_NO_OBJECT_SRCPlugin content (object and embed elements) is not restricted.