From ca92f1a88d18102dd8096d39ecfad4638ee21b8f Mon Sep 17 00:00:00 2001 From: hatim dinia Date: Tue, 20 Feb 2024 17:45:39 +0100 Subject: [PATCH] fix(ui-hydro): add missing matrix path encoding --- webapp/src/services/api/matrix.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/src/services/api/matrix.ts b/webapp/src/services/api/matrix.ts index 9b2d4f5213..1eff05f7c9 100644 --- a/webapp/src/services/api/matrix.ts +++ b/webapp/src/services/api/matrix.ts @@ -97,7 +97,7 @@ export const editMatrix = async ( matrixEdit: MatrixEditDTO[], ): Promise => { const res = await client.put( - `/v1/studies/${sid}/matrix?path=${path}`, + `/v1/studies/${sid}/matrix?path=${encodeURIComponent(path)}`, matrixEdit, ); return res.data;