diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2023-11-07 16:49:10 +0100 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2023-11-07 16:49:10 +0100 |
commit | e79e0bdf4db7eedc6b135e1a8029c6b46e1c573f (patch) | |
tree | 41363c1e6f4f0a6a6bf54ec4f6913b05b1e6715c /apps/files | |
parent | b49400cc18fc4726da7f7b581c76f37481467592 (diff) | |
download | nextcloud-server-e79e0bdf4db7eedc6b135e1a8029c6b46e1c573f.tar.gz nextcloud-server-e79e0bdf4db7eedc6b135e1a8029c6b46e1c573f.zip |
fix(files): Do not encode the path twice (and do not use undefined method)
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/src/actions/moveOrCopyAction.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/src/actions/moveOrCopyAction.ts b/apps/files/src/actions/moveOrCopyAction.ts index 52ad4f2868d..07ffcfc052f 100644 --- a/apps/files/src/actions/moveOrCopyAction.ts +++ b/apps/files/src/actions/moveOrCopyAction.ts @@ -86,7 +86,7 @@ export const handleCopyMoveNodeTo = async (node: Node, destination: Folder, meth } const relativePath = join(destination.path, node.basename) - const destinationUrl = generateRemoteUrl(encodePath(`dav/files/${getCurrentUser()?.uid}${relativePath}`)) + const destinationUrl = generateRemoteUrl(`dav/files/${getCurrentUser()?.uid}${relativePath}`) logger.debug(`${method} ${node.basename} to ${destinationUrl}`) // Set loading state |