aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorDaniel <mail@danielkesselberg.de>2023-08-25 17:08:04 +0200
committerGitHub <noreply@github.com>2023-08-25 17:08:04 +0200
commit5d9b84dd583162e2c92557db4abb2351b14194f2 (patch)
treedd22259abcde41918e41dd2b063cade76fbb94d7 /apps
parent85ff1449d33df76db17d741e46485799e7121977 (diff)
parent7183e3db3d39c0ed37d201910ab30143f56ecfd3 (diff)
downloadnextcloud-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.ts2
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,