From 489e108c81da19a4e29674dfc21f5f4b45f1a0a9 Mon Sep 17 00:00:00 2001 From: mhartington Date: Sun, 6 Sep 2015 21:10:48 -0400 Subject: [PATCH] feat(config): add support for gps and sms links Closes #4305 This makes the url patterns follow the whitelist plugin --- js/angular/service/ionicConfig.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/angular/service/ionicConfig.js b/js/angular/service/ionicConfig.js index e28f2ee2160..b86e202063e 100644 --- a/js/angular/service/ionicConfig.js +++ b/js/angular/service/ionicConfig.js @@ -651,6 +651,6 @@ IonicModule // http://blogs.msdn.com/b/msdn_answers/archive/2015/02/10/ // running-cordova-apps-on-windows-and-windows-phone-8-1-using-ionic-angularjs-and-other-frameworks.aspx .config(['$compileProvider', function($compileProvider) { - $compileProvider.aHrefSanitizationWhitelist(/^\s*(https?|tel|ftp|mailto|file|ghttps?|ms-appx|x-wmapp0):/); + $compileProvider.aHrefSanitizationWhitelist(/^\s*(https?|sms|tel|geo|ftp|mailto|file|ghttps?|ms-appx|x-wmapp0):/); $compileProvider.imgSrcSanitizationWhitelist(/^\s*(https?|ftp|file|content|blob|ms-appx|x-wmapp0):|data:image\//); }]);