[all] correct CSP rules for mobile apps
This commit is contained in:
parent
19c72eea5c
commit
5fca9dce64
|
@ -2,15 +2,7 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<!--
|
<meta http-equiv="Content-Security-Policy" content="default-src * 'self' 'unsafe-inline' data: blob:">
|
||||||
Customize this policy to fit your own app's needs. For more guidance, see:
|
|
||||||
https://github.com/apache/cordova-plugin-whitelist/blob/master/README.md#content-security-policy
|
|
||||||
Some notes:
|
|
||||||
* https://ssl.gstatic.com is required only on Android and is needed for TalkBack to function properly
|
|
||||||
* Disables use of inline scripts in order to mitigate risk of XSS vulnerabilities. To change this:
|
|
||||||
* Enable inline JS: add 'unsafe-inline' to default-src
|
|
||||||
-->
|
|
||||||
<meta http-equiv="Content-Security-Policy" content="default-src * 'self' 'unsafe-inline' 'unsafe-eval' data: gap: content:">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui, viewport-fit=cover">
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui, viewport-fit=cover">
|
||||||
|
|
||||||
<meta name="theme-color" content="#007aff">
|
<meta name="theme-color" content="#007aff">
|
||||||
|
|
|
@ -2,15 +2,7 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<!--
|
<meta http-equiv="Content-Security-Policy" content="default-src * 'self' 'unsafe-inline' data: blob:">
|
||||||
Customize this policy to fit your own app's needs. For more guidance, see:
|
|
||||||
https://github.com/apache/cordova-plugin-whitelist/blob/master/README.md#content-security-policy
|
|
||||||
Some notes:
|
|
||||||
* https://ssl.gstatic.com is required only on Android and is needed for TalkBack to function properly
|
|
||||||
* Disables use of inline scripts in order to mitigate risk of XSS vulnerabilities. To change this:
|
|
||||||
* Enable inline JS: add 'unsafe-inline' to default-src
|
|
||||||
-->
|
|
||||||
<meta http-equiv="Content-Security-Policy" content="default-src * 'self' 'unsafe-inline' 'unsafe-eval' data: gap: content:">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui, viewport-fit=cover">
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui, viewport-fit=cover">
|
||||||
|
|
||||||
<meta name="theme-color" content="#007aff">
|
<meta name="theme-color" content="#007aff">
|
||||||
|
|
|
@ -2,15 +2,7 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<!--
|
<meta http-equiv="Content-Security-Policy" content="default-src * 'self' 'unsafe-inline' data: blob:">
|
||||||
Customize this policy to fit your own app's needs. For more guidance, see:
|
|
||||||
https://github.com/apache/cordova-plugin-whitelist/blob/master/README.md#content-security-policy
|
|
||||||
Some notes:
|
|
||||||
* https://ssl.gstatic.com is required only on Android and is needed for TalkBack to function properly
|
|
||||||
* Disables use of inline scripts in order to mitigate risk of XSS vulnerabilities. To change this:
|
|
||||||
* Enable inline JS: add 'unsafe-inline' to default-src
|
|
||||||
-->
|
|
||||||
<meta http-equiv="Content-Security-Policy" content="default-src * 'self' 'unsafe-inline' 'unsafe-eval' data: gap: content:">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui, viewport-fit=cover">
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui, viewport-fit=cover">
|
||||||
|
|
||||||
<meta name="theme-color" content="#007aff">
|
<meta name="theme-color" content="#007aff">
|
||||||
|
|
Loading…
Reference in a new issue