From e82ed7759ee8a7c73261200079d7e307032d78ea Mon Sep 17 00:00:00 2001 From: Scott Dover Date: Tue, 19 Nov 2024 15:27:23 -0500 Subject: [PATCH] chore: account for semicolons in move paths --- client/src/connection/rest/RestSASServerAdapter.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/src/connection/rest/RestSASServerAdapter.ts b/client/src/connection/rest/RestSASServerAdapter.ts index f609988bd..d07cfdbb3 100644 --- a/client/src/connection/rest/RestSASServerAdapter.ts +++ b/client/src/connection/rest/RestSASServerAdapter.ts @@ -361,7 +361,10 @@ class RestSASServerAdapter implements ContentAdapter { ifMatch: etag, fileProperties: { name: item.name, - path: newFilePath.split(SAS_FILE_SEPARATOR).join("/"), + path: newFilePath + .split(SAS_FILE_SEPARATOR) + .join("/") + .replace(/~sc~/g, ";"), }, };