You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2015/03/12 23:58:56 UTC

[4/5] cordova-app-hello-world git commit: Another CSP comment tweak

Another CSP comment tweak


Project: http://git-wip-us.apache.org/repos/asf/cordova-app-hello-world/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-app-hello-world/commit/d4ee2c66
Tree: http://git-wip-us.apache.org/repos/asf/cordova-app-hello-world/tree/d4ee2c66
Diff: http://git-wip-us.apache.org/repos/asf/cordova-app-hello-world/diff/d4ee2c66

Branch: refs/heads/3.8.x
Commit: d4ee2c6627c1eeabb8b64172369e54e012660838
Parents: 87da974
Author: Andrew Grieve <ag...@chromium.org>
Authored: Thu Mar 12 13:43:40 2015 -0400
Committer: Steve Gill <st...@gmail.com>
Committed: Thu Mar 12 15:58:33 2015 -0700

----------------------------------------------------------------------
 www/index.html | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-app-hello-world/blob/d4ee2c66/www/index.html
----------------------------------------------------------------------
diff --git a/www/index.html b/www/index.html
index c67c617..10dbeb6 100644
--- a/www/index.html
+++ b/www/index.html
@@ -25,8 +25,9 @@
         Some notes:
             * gap: is required only on iOS (when using UIWebView) and is needed for JS->native communication
             * https://ssl.gstatic.com is required only on Android and is needed for TalkBack to function properly
-            * To enable use of inline JS, add 'unsafe-inline' to default-src
-            * To enable use of eval(), add 'unsafe-eval' to default-src
+            * Disables use of eval() and inline scripts in order to mitigate risk of XSS vulnerabilities. To change this:
+                * Enable inline JS: add 'unsafe-inline' to default-src
+                * Enable eval(): add 'unsafe-eval' to default-src
         -->
         <meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: https://ssl.gstatic.com; style-src 'self' 'unsafe-inline'; media-src *">
         <meta name="format-detection" content="telephone=no">


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org