Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Blob urls for images in 1.0.0-rc5 #3645

Closed
hasandogu opened this issue Apr 30, 2015 · 1 comment
Closed

bug: Blob urls for images in 1.0.0-rc5 #3645

hasandogu opened this issue Apr 30, 2015 · 1 comment

Comments

@hasandogu
Copy link

Type: bug

Platform: all

Just updated to 1.0.0-rc5 and it seems like "blob" urls in images were removed in order to be able to provide add support for Windows Phone due to this blog post

// Fix for URLs in Cordova apps on Windows Phone
// 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?|ftp|mailto|file|ghttps?|ms-appx|x-wmapp0):/);
  $compileProvider.imgSrcSanitizationWhitelist(/^\s*(https?|ftp|file|ms-appx|x-wmapp0):|data:image\//);
}]);

Current Angular implementation is allowing "blob" urls for images and Ripple is depending on these when using the camera plugin. Is there a particular reason for why "blob" was removed?

@hasandogu hasandogu changed the title Blob urls for images in 1.0.0-rc5 bug: Blob urls for images in 1.0.0-rc5 Apr 30, 2015
@perrygovier
Copy link
Contributor

Thanks @hasandogu, great catch

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants