From ede1591dc6cf495790e7ff50af9f27e5b3a49e46 Mon Sep 17 00:00:00 2001 From: orbisai0security Date: Sun, 28 Dec 2025 05:12:02 +0000 Subject: [PATCH] fix: resolve high vulnerability V-001 Automatically generated security fix --- samples/client/angular/projects/restaurant/src/app/client.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/samples/client/angular/projects/restaurant/src/app/client.ts b/samples/client/angular/projects/restaurant/src/app/client.ts index 159ba9dc..5a872c4a 100644 --- a/samples/client/angular/projects/restaurant/src/app/client.ts +++ b/samples/client/angular/projects/restaurant/src/app/client.ts @@ -61,6 +61,11 @@ export class Client { const response = await fetch('/a2a', { body: JSON.stringify(message), method: 'POST', + headers: { + 'Content-Type': 'application/json', + 'X-Requested-With': 'XMLHttpRequest', + }, + credentials: 'same-origin', }); if (response.ok) {