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: Issue with URLs in Angular $compile on Windows 10 apps #4604

Closed
pablo-martinez opened this issue Nov 6, 2015 · 1 comment
Closed

bug: Issue with URLs in Angular $compile on Windows 10 apps #4604

pablo-martinez opened this issue Nov 6, 2015 · 1 comment

Comments

@pablo-martinez
Copy link

Type: bug

Platform: desktop browser

There is an issue when accessing URLs on Windows 10 in Remote Mode.
Currently, the schema used by Windows 10 apps is ms-appx-web and it's not included in the fix at ionicConfig.js:

$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\//);

Plase add it, otherwise Angular is prepending them with unsafe:

@pablo-martinez pablo-martinez changed the title Issue with URLs in Angular $compile on Windows 10 apps bug: Issue with URLs in Angular $compile on Windows 10 apps Nov 6, 2015
@mlynch mlynch closed this as completed in 4dd80d9 Dec 7, 2015
@mlynch
Copy link
Contributor

mlynch commented Dec 7, 2015

Thanks!

@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