Answers for "unsafe value used in a resource URL context (see http://g.co/ng/security#xss)"

2

unsafe value used in a resource URL context

transform(url) {
    return this.sanitizer.bypassSecurityTrustResourceUrl(url);
  }
Posted by: Guest on June-04-2020

Code answers related to "unsafe value used in a resource URL context (see http://g.co/ng/security#xss)"

Code answers related to "Javascript"

Browse Popular Code Answers by Language