You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by db...@apache.org on 2015/05/21 23:26:47 UTC
spec commit: CB-8927 Add media to cspMeta and Windows as plat
Repository: cordova-mobile-spec
Updated Branches:
refs/heads/master d7d43d687 -> 6e88a8e3a
CB-8927 Add media to cspMeta and Windows as plat
Project: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/commit/6e88a8e3
Tree: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/tree/6e88a8e3
Diff: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/diff/6e88a8e3
Branch: refs/heads/master
Commit: 6e88a8e3affa7cd50ad40ac08e37fb06d9a55fcf
Parents: d7d43d6
Author: Murat Sutunc <su...@gmail.com>
Authored: Tue Apr 28 14:18:19 2015 -0700
Committer: Dmitry Blotsky <dm...@gmail.com>
Committed: Thu May 21 14:25:11 2015 -0700
----------------------------------------------------------------------
www/csp-incl.js | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/6e88a8e3/www/csp-incl.js
----------------------------------------------------------------------
diff --git a/www/csp-incl.js b/www/csp-incl.js
index 4a484db..f79a9fd 100644
--- a/www/csp-incl.js
+++ b/www/csp-incl.js
@@ -49,7 +49,13 @@ if (!window._disableCSP) {
switch (PLAT) {
case 'android':
case 'ios':
- cspMetaContent = 'default-src \'self\' https://ssl.gstatic.com/accessibility/javascript/android/; connect-src \'self\' http://cordova-filetransfer.jitsu.com;frame-src \'self\' data: gap:; img-src \'self\' data:; style-src \'self\' \'unsafe-inline\'';
+ case 'windows8':
+ cspMetaContent = 'default-src \'self\' https://ssl.gstatic.com/accessibility/javascript/android/;' +
+ ' connect-src \'self\' http://cordova-filetransfer.jitsu.com;' +
+ ' media-src \'self\' http://cordova.apache.org/downloads/;' +
+ ' frame-src \'self\' data: gap:;' +
+ ' img-src \'self\' data:;' +
+ ' style-src \'self\' \'unsafe-inline\'';
break;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org