Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

Using angular expression in frame throws error

$
0
0

@deveps wrote:

I have tried the suggestion made in the other solution,using an iframe cause the error… This line shows error

<iframe width="100%" height="300" src="{{item.body}}"></iframe>

Error messege

ERROR Error: Uncaught (in promise): Error: unsafe value used in a resource URL context (see http://g.co/ng/security#xss)
Error: unsafe value used in a resource URL context (see http://g.co/ng/security#xss)

How to set iframe src in Angular without causing error.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>