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
"local" protocol should be included in imgSrcSanitizationWhitelist #1066
Comments
Update: meant to include, when I manually change ionic.bundle.js to include the "local:" protocol in the imgSrcSanitizationWhitelist, my images display just fine on BlackBerry 10. |
This is actually a great time to ask if Ionic works on Blackberry 10 :) How does it work for you, apart from this issue? I'll take a look about adding that right now. |
Oh, and this is actually an Angular bug, not Ionic. We don't have any line for |
Thanks for the update. Good to know this is an Angular issue. Ionic works great on BlackBerry 10. This was the only issue I encountered and I just finished the app. |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
This issue was discovered when testing an app built using ionic, packaged in Cordova running on BlackBerry 10. I believe the WebView on BlackBerry 10 injects the "local://" protocol when it tries to render the relative URLs of images packaged inside the Cordova app container.
Looking through ionic.bundle.js, I found the imgSrcSanitizationWhitelist variable which contains a list of accepted protocols. I would like to ask that "local" be included in the next version.
Observations
The following template
results in images that generate the following error when run on BlackBerry 10
The text was updated successfully, but these errors were encountered: