You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2018/09/06 14:23:49 UTC
[GitHub] TiagoJVO opened a new issue #28: Defining Content-Security-Policy
parameters in order to get violation reports
TiagoJVO opened a new issue #28: Defining Content-Security-Policy parameters in order to get violation reports
URL: https://github.com/apache/cordova-plugin-whitelist/issues/28
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](url)
> On Android and iOS, the network request whitelist (see above) is not able to filter all types of requests (e.g. <video> & WebSockets are not blocked). So, in addition to the whitelist, you should use a Content Security Policy <meta> tag on all of your pages.
But there is a problem, `report-to` and `report-uri` are not supported on `<meta>` tag ([https://w3c.github.io/webappsec-csp/](url).
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?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org