Skip to content

Commit

Permalink
fix(config): add support for blob image protocol. Closes #3645
Browse files Browse the repository at this point in the history
  • Loading branch information
perrygovier committed May 5, 2015
1 parent db730f1 commit d684d62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/angular/service/ionicConfig.js
Expand Up @@ -629,5 +629,5 @@ IonicModule
// 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.imgSrcSanitizationWhitelist(/^\s*(https?|tel|ftp|file|ms-appx|x-wmapp0):|data:image\//);
$compileProvider.imgSrcSanitizationWhitelist(/^\s*(https?|tel|ftp|file|blob|ms-appx|x-wmapp0):|data:image\//);
}]);

0 comments on commit d684d62

Please sign in to comment.