79220238

Date: 2024-11-24 14:08:33
Score: 0.5
Natty:
Report link

try to sanitizer you url and make pdfUrl : SafeResourceUrl as

  pdfUrl: SafeResourceUrl;
  constructor(
  private sanitizer: DomSanitizer,
  ) { }

and sanitizer it like that

 this.pdfUrl= this.sanitizer.bypassSecurityTrustResourceUrl(res);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Hager Khaled