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/06/17 02:45:57 UTC

cordova-plugin-whitelist git commit: Revert "CB-9133 Adds support for CDVFILE. This closes #6"

Repository: cordova-plugin-whitelist
Updated Branches:
  refs/heads/master 94254c1d2 -> 59072c6c9


Revert "CB-9133 Adds support for CDVFILE. This closes #6"

This reverts commit 94254c1d2f6e382519b066475e2b0a4df6d67f90.


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist/commit/59072c6c
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist/tree/59072c6c
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist/diff/59072c6c

Branch: refs/heads/master
Commit: 59072c6c9b4f73b1e1544519a8bc3eb645651d12
Parents: 94254c1
Author: Steve Gill <st...@gmail.com>
Authored: Tue Jun 16 17:45:52 2015 -0700
Committer: Steve Gill <st...@gmail.com>
Committed: Tue Jun 16 17:45:52 2015 -0700

----------------------------------------------------------------------
 src/android/WhitelistPlugin.java | 5 -----
 1 file changed, 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist/blob/59072c6c/src/android/WhitelistPlugin.java
----------------------------------------------------------------------
diff --git a/src/android/WhitelistPlugin.java b/src/android/WhitelistPlugin.java
index c322b82..4e4f57e 100644
--- a/src/android/WhitelistPlugin.java
+++ b/src/android/WhitelistPlugin.java
@@ -48,8 +48,6 @@ public class WhitelistPlugin extends CordovaPlugin {
     public WhitelistPlugin(Whitelist allowedNavigations, Whitelist allowedIntents, Whitelist allowedRequests) {
         if (allowedRequests == null) {
             allowedRequests = new Whitelist();
-            allowedRequests.addWhiteListEntry("content://*", false);
-            allowedRequests.addWhiteListEntry("cdvfile://*", false);
             allowedRequests.addWhiteListEntry("file:///*", false);
             allowedRequests.addWhiteListEntry("data:*", false);
         }
@@ -79,9 +77,6 @@ public class WhitelistPlugin extends CordovaPlugin {
                 if ("*".equals(origin)) {
                     allowedNavigations.addWhiteListEntry("http://*/*", false);
                     allowedNavigations.addWhiteListEntry("https://*/*", false);
-                    allowedNavigations.addWhiteListEntry("content://*", false);
-                    allowedNavigations.addWhiteListEntry("cdvfile://*", false);
-                    allowedNavigations.addWhiteListEntry("file:///*", false);
                     allowedNavigations.addWhiteListEntry("data:*", false);
                 } else {
                     allowedNavigations.addWhiteListEntry(origin, false);


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