cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dase...@apache.org
Subject spec commit: CB-9774 File Transfer download cdvfile fails
Date Tue, 01 Dec 2015 18:04:09 GMT
Repository: cordova-mobile-spec
Updated Branches:
  refs/heads/master 80d9808e3 -> 785abbfc3


CB-9774 File Transfer download cdvfile fails


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/785abbfc
Tree: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/tree/785abbfc
Diff: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/diff/785abbfc

Branch: refs/heads/master
Commit: 785abbfc3f36172a733f219f3f17f89ec4e2db72
Parents: 80d9808
Author: daserge <v-seshak@microsoft.com>
Authored: Mon Nov 16 20:21:07 2015 +0300
Committer: daserge <v-seshak@microsoft.com>
Committed: Tue Dec 1 20:59:09 2015 +0300

----------------------------------------------------------------------
 config.xml      | 3 ++-
 www/csp-incl.js | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/785abbfc/config.xml
----------------------------------------------------------------------
diff --git a/config.xml b/config.xml
index 275399e..a13e35c 100644
--- a/config.xml
+++ b/config.xml
@@ -47,7 +47,8 @@
     <allow-navigation href="https://www.google.co.uk" />
     <allow-navigation href="http://techslides.com" />
     <allow-navigation href="httpssss://example.com" />
-    
+    <allow-navigation href="cdvfile:*" />
+
     <allow-intent href="sms:*" />
     <allow-intent href="mailto:*" />
     <allow-intent href="tel:*" />

http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/785abbfc/www/csp-incl.js
----------------------------------------------------------------------
diff --git a/www/csp-incl.js b/www/csp-incl.js
index fb4b638..9967558 100644
--- a/www/csp-incl.js
+++ b/www/csp-incl.js
@@ -54,7 +54,7 @@ if (!window._disableCSP) {
                             ' connect-src \'self\' http://cordova-filetransfer.jitsu.com;'
+
                             ' media-src \'self\' http://cordova.apache.org/downloads/;' +
                             ' frame-src \'self\' http://stealbridgesecret.test/ data: gap:;'
+
-                            ' img-src \'self\' data:;' +
+                            ' img-src \'self\' data: cdvfile:;' +
                             ' 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


Mime
View raw message