-
Notifications
You must be signed in to change notification settings - Fork 13.5k
URL.createObjectURL are currently marked unsafe #3719
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
Comments
Not sure I follow, this is already in 1.0 and release. https://github.com/driftyco/ionic/blob/master/js/angular/service/ionicConfig.js#L632 |
Ah, it was indeed fixed 8 days ago i was using 1.0.0-rc5, |
When using the cordova camera plugin, it uses a Adding $compileProvider.imgSrcSanitizationWhitelist(/^\s*(https?|tel|ftp|file|blob|content|ms-appx|x-wmapp0):|data:image\//); |
When using the camera plugin, it will use a content:// scheme, which will be marked unsafe. Closes #3719
This should be fixed with 8572f38 |
This is already fixed in regular angular, but ionic overwrites the imgSrcSanitizationWhitelist value in js/angular/service/ionicConfig.js.
To fix this add
|blob
to the regex:The text was updated successfully, but these errors were encountered: