From 5f20d9102f7eec4de85ac5352c4194d7015ac1d3 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Mon, 29 Apr 2024 22:27:35 +0200 Subject: [PATCH] Prevent double / in path --- front/packages/models/src/query.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/front/packages/models/src/query.tsx b/front/packages/models/src/query.tsx index bbc4762c8..e7311a0b2 100644 --- a/front/packages/models/src/query.tsx +++ b/front/packages/models/src/query.tsx @@ -64,6 +64,7 @@ export const queryFn = async ( ) .filter((x) => x) .join("/") + .replace("//", "/") .replace("/?", "?"); let resp; try {