Encode URI for file sidebar
Signed-off-by: Gary Kim <gary@garykim.dev>
This commit is contained in:
parent
e5d3efb99e
commit
409d25ebf3
3 changed files with 1 additions and 1 deletions
BIN
apps/files/js/dist/sidebar.js
vendored
BIN
apps/files/js/dist/sidebar.js
vendored
Binary file not shown.
BIN
apps/files/js/dist/sidebar.js.map
vendored
BIN
apps/files/js/dist/sidebar.js.map
vendored
Binary file not shown.
|
@ -115,7 +115,7 @@ export default {
|
|||
*/
|
||||
davPath() {
|
||||
const user = OC.getCurrentUser().uid
|
||||
return OC.linkToRemote(`dav/files/${user}${this.file}`)
|
||||
return OC.linkToRemote(`dav/files/${user}${encodeURIComponent(this.file)}`)
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue