From f11d578efa06daeac0113ca00d34fd9560192f73 Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Mon, 13 Nov 2023 14:07:19 -0300 Subject: [PATCH] fix(API/index.ts): encode comma in tags array to prevent issues with URL encoding --- src/frontend/src/controllers/API/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/controllers/API/index.ts b/src/frontend/src/controllers/API/index.ts index d5508a99c..a8a128a69 100644 --- a/src/frontend/src/controllers/API/index.ts +++ b/src/frontend/src/controllers/API/index.ts @@ -610,7 +610,7 @@ export async function getStoreComponents( queryParams.push(`status=${status}`); } if (tags !== undefined && tags !== null && tags.length > 0) { - queryParams.push(`tags=${tags.join(",")}`); + queryParams.push(`tags=${tags.join(encodeURIComponent(","))}`); } if (sort !== undefined && sort !== null) {