From fb9a43011a1a618e787f3a37dc8195fff107ee02 Mon Sep 17 00:00:00 2001 From: Gokulraj C <110164849+GOKULRAJ136@users.noreply.github.com> Date: Fri, 22 Dec 2023 11:38:37 +0530 Subject: [PATCH] Improved Security for ApplicantPhoto Rendering Signed-off-by: Gokulraj C <110164849+GOKULRAJ136@users.noreply.github.com> --- .../download-card/download-card/download-card.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin-ui/src/app/features/download-card/download-card/download-card.component.ts b/admin-ui/src/app/features/download-card/download-card/download-card.component.ts index f9b2cc56..1e7fb46c 100644 --- a/admin-ui/src/app/features/download-card/download-card/download-card.component.ts +++ b/admin-ui/src/app/features/download-card/download-card/download-card.component.ts @@ -80,7 +80,7 @@ export class DownloadCardComponent implements OnInit { } renderImage(){ - this.applicantPhoto = this.sanitizer.bypassSecurityTrustResourceUrl(this.data.applicantPhoto); + this.applicantPhoto = this.sanitizer.bypassSecurityTrustUrl(this.data.applicantPhoto); } search() {