Skip to content

Defining Content-Security-Policy parameters in order to get violation reports #319

@TiagoJVO

Description

@TiagoJVO

Hello, I'm having some problems defining content security policy on my application due to reports of violations.
I need to have a report each time a csp violation occur. I followed your documentation at https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-whitelist/#content-security-policy

On Android and iOS, the network request whitelist (see above) is not able to filter all types of requests (e.g.

But there is a problem, report-to and report-uri are not supported on <meta> tag (https://w3c.github.io/webappsec-csp/.

What am I supposed to do in this case? When an application is already bundled with all .html pages and does not communicate with the server?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions