From 9131dcec86a96b1552303dfc6946d50322943337 Mon Sep 17 00:00:00 2001 From: Nakul Nambiar Date: Wed, 9 Oct 2024 15:32:40 +1100 Subject: [PATCH] fix: encode primary key before sending PATCH request Refs: #9615 --- packages/nc-gui/composables/useData.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nc-gui/composables/useData.ts b/packages/nc-gui/composables/useData.ts index 77b701c685..6139ddd2a9 100644 --- a/packages/nc-gui/composables/useData.ts +++ b/packages/nc-gui/composables/useData.ts @@ -208,7 +208,7 @@ export function useData(args: { base?.value.id as string, metaValue?.id as string, viewMetaValue?.id as string, - id, + encodeURIComponent(id), { // if value is undefined treat it as null [property]: toUpdate.row[property] ?? null,