I am working on a tutorial involving the setting of an iframe src attribute:

<iframe width="100%" height="300" src="https://stackoverflow.com/questions/38037760/{{video.url}}"></iframe>

This throws an exception:

Error: unsafe value used in a resource URL context
at DomSanitizationServiceImpl.sanitize...

I have already tried using bindings with [src] with no success.

9 Answers
9

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *