Sun, 26 Sep 2021 08:20:54 GMT
Join the conversation at slack.cordova.io
Sat, 25 Sep 2021 20:32:36 GMT
@costagauci says
Hi, I am having a bit of trouble with my Content Security Policy. When I change source too
img-src 'self' <https://domainname.com/*> data: blob: cdvphotolibrary:
the images from the domain name stop loading? However when it is set as followsimg-src * data: blob: cdvphotolibrary:
they work fine? Please help.This is the whole meta tag:
<meta http-equiv="Content-Security-Policy" content="default-src * data: cdvfile: file: gap: ws: <https://ssl.gstatic.com>; style-src 'self' <https://domainname.com/*> 'unsafe-inline'; script-src 'self' <https://domainname.com/*> 'unsafe-inline' 'unsafe-eval'; img-src * data: blob: cdvphotolibrary:">
Sat, 25 Sep 2021 20:46:49 GMT
@dpogue says
try just
<https://domainname.com>
without the/*
at the end
Sun, 26 Sep 2021 06:39:00 GMT
@prasunjajodia says
I think you can safely remove cordova-plugin-whiteist in cordova-android 10.x