I'm using ngHref to bind a download link. The link is being rendered with 
the unsafe: prefix rendering it inoperative.


I checked the $compile config:

console.log($compileProvider.aHrefSanitizationWhitelist());


And it looks correct:

/^\s*(https?|ftp|mailto|tel|file):/


Could this be because the app is currently running on localhost and the API 
service is running on SSL on a VM? So the app is running on http and the 
API is on https? 


If that's the issue, how do I tell angular to trust the URL?

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to