Merge pull request #39842 from nextcloud/encode-filename-trashbin-restore

pull/40050/head
Daniel 2 years ago committed by GitHub
commit 5d9b84dd58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      apps/files_trashbin/src/actions/restoreAction.ts
  2. 4
      dist/files_trashbin-main.js
  3. 2
      dist/files_trashbin-main.js.map

@ -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,

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save