You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2015/03/06 04:33:11 UTC

cordova-lib git commit: CB-7747 Add ``s to default template

Repository: cordova-lib
Updated Branches:
  refs/heads/master 356356d06 -> 26c6f763e


CB-7747 Add `<allow-intent>`s to default template


Project: http://git-wip-us.apache.org/repos/asf/cordova-lib/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-lib/commit/26c6f763
Tree: http://git-wip-us.apache.org/repos/asf/cordova-lib/tree/26c6f763
Diff: http://git-wip-us.apache.org/repos/asf/cordova-lib/diff/26c6f763

Branch: refs/heads/master
Commit: 26c6f763e4bf4f33e7d121dd8d4e405c8218267e
Parents: 356356d
Author: Andrew Grieve <ag...@chromium.org>
Authored: Thu Mar 5 22:14:22 2015 -0500
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Thu Mar 5 22:25:59 2015 -0500

----------------------------------------------------------------------
 cordova-lib/templates/config.xml | 12 ++++++++++++
 1 file changed, 12 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/26c6f763/cordova-lib/templates/config.xml
----------------------------------------------------------------------
diff --git a/cordova-lib/templates/config.xml b/cordova-lib/templates/config.xml
index 4a9a4d8..d77e57d 100644
--- a/cordova-lib/templates/config.xml
+++ b/cordova-lib/templates/config.xml
@@ -15,5 +15,17 @@
 
     <content src="index.html" />
 
+    <!-- Whitelist docs: https://github.com/apache/cordova-plugin-whitelist -->
     <access origin="*" />
+    <!-- Grant certain URLs the ability to launch external applications. This
+         behaviour is set to match that of Cordova versions before 3.6.0, and
+         should be reviewed before launching an application in production. It
+         may be changed in the future. -->
+    <allow-intent href="http://*/*" />
+    <allow-intent href="https://*/*" />
+    <allow-intent href="tel:*" />
+    <allow-intent href="sms:*" />
+    <allow-intent href="mailto:*" />
+    <allow-intent href="geo:*" />
+    <allow-intent href="market:*" />
 </widget>


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