diff options
author | Daniel <mail@danielkesselberg.de> | 2023-08-25 17:08:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-25 17:08:04 +0200 |
commit | 5d9b84dd583162e2c92557db4abb2351b14194f2 (patch) | |
tree | dd22259abcde41918e41dd2b063cade76fbb94d7 /apps | |
parent | 85ff1449d33df76db17d741e46485799e7121977 (diff) | |
parent | 7183e3db3d39c0ed37d201910ab30143f56ecfd3 (diff) | |
download | nextcloud-server-5d9b84dd583162e2c92557db4abb2351b14194f2.tar.gz nextcloud-server-5d9b84dd583162e2c92557db4abb2351b14194f2.zip |
Merge pull request #39842 from nextcloud/encode-filename-trashbin-restore
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_trashbin/src/actions/restoreAction.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/src/actions/restoreAction.ts b/apps/files_trashbin/src/actions/restoreAction.ts index 70b6922dba7..7ec349ee271 100644 --- a/apps/files_trashbin/src/actions/restoreAction.ts +++ b/apps/files_trashbin/src/actions/restoreAction.ts @@ -50,7 +50,7 @@ registerFileAction(new FileAction({ async exec(node: Node) { try { - const destination = generateRemoteUrl(`dav/trashbin/${getCurrentUser()?.uid}/restore/${node.basename}`) + const destination = generateRemoteUrl(encodeURI(`dav/trashbin/${getCurrentUser()?.uid}/restore/${node.basename}`)) await axios({ method: 'MOVE', url: node.source, |