From 70cc4c4295376e4af9cb9009a6ee5ddc389d61d9 Mon Sep 17 00:00:00 2001 From: sai-neetha Date: Mon, 9 Oct 2023 20:38:29 +0200 Subject: SDNR UI Config app throws 400 error ConfigurationApp throws 400 error Issue-ID: CCSDK-3942 Change-Id: Ia4bdeb1590f533e49c8a865f2bc75e135952f414 Signed-off-by: sai-neetha --- sdnr/wt/odlux/apps/configurationApp/src/actions/deviceActions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sdnr/wt/odlux/apps/configurationApp/src/actions') diff --git a/sdnr/wt/odlux/apps/configurationApp/src/actions/deviceActions.ts b/sdnr/wt/odlux/apps/configurationApp/src/actions/deviceActions.ts index d8ec4bfd9..187e9bccb 100644 --- a/sdnr/wt/odlux/apps/configurationApp/src/actions/deviceActions.ts +++ b/sdnr/wt/odlux/apps/configurationApp/src/actions/deviceActions.ts @@ -233,7 +233,7 @@ export const updateViewActionAsyncCreator = (vPath: string) => async (dispatch: extractList = true; } else { // normal case & replaces unicode %2C if present - dataPath += `/${property}${key ? `=${key.replace(/\%2C/g, ',').replace(/\//ig, '%2F')}` : ''}`; + dataPath += `/${property}${key ? `=${key.replace(/,/ig, '%2C').replace(/\//ig, '%2F')}` : ''}`; // in case of the root element the required namespace will be added later, // while extracting the data -- cgit 1.2.3-korg