ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

bug: Bug BB10 ion-item href unsafe prefix

Open apipemc opened this issue 11 years ago • 2 comments

Type: bug

Platform: mobile webview

Hi guys

I have a problem with routes that are generated in my application in blackberry this before putting a text 'unsafe:local:///' film what generates conflict in navigating me as I remove this 'unsafe' to stay 'store: //'

captura de pantalla 2015-10-13 a las 3 27 09 p m

thanks

apipemc avatar Oct 13 '15 20:10 apipemc

Sounds similar to this

https://github.com/driftyco/ionic/issues/1066

We're not going to be supporting Blackberry or adding anything in particular for it. You can edit your href sanitization to make it safe. https://github.com/driftyco/ionic/blob/master/js/angular/service/ionicConfig.js#L654

mhartington avatar Oct 14 '15 14:10 mhartington

Thanks

the solution is similar but was added on unsafe and local, app.js

.config([
    '$compileProvider',
    function(
        $compileProvider
    ){
    $compileProvider.aHrefSanitizationWhitelist(/^\s*(https?|tel|ftp|mailto|file|ghttps?|ms-appx|x-wmapp0|unsafe|local):/);
    $compileProvider.imgSrcSanitizationWhitelist(/^\s*(https?|ftp|file|content|blob|ms-appx|x-wmapp0|unsafe|local):|data:image\//);
}])

apipemc avatar Oct 21 '15 17:10 apipemc