From ba310e316cf0ee1ae28390b57fd819ce5cfb4d57 Mon Sep 17 00:00:00 2001 From: Mihaela Balutoiu Date: Thu, 7 May 2026 22:19:21 +0300 Subject: [PATCH] Add `text/csv` header to fix VM inventory CSV newline escaping Signed-off-by: Mihaela Balutoiu --- src/sources/EndpointSource.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sources/EndpointSource.ts b/src/sources/EndpointSource.ts index 8a7d7ad1..c8ae5457 100644 --- a/src/sources/EndpointSource.ts +++ b/src/sources/EndpointSource.ts @@ -311,6 +311,7 @@ class EndpointSource { const response = await Api.send({ url: `${configLoader.config.servicesUrls.coriolis}/${Api.projectId}/endpoints/${endpointId}/inventory`, responseType: "text", + headers: { Accept: "text/csv" }, }); return response.data as string; }