Encode URI for file sidebar
Signed-off-by: Gary Kim <gary@garykim.dev>
This commit is contained in:
parent
e5d3efb99e
commit
409d25ebf3
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -115,7 +115,7 @@ export default {
|
||||||
*/
|
*/
|
||||||
davPath() {
|
davPath() {
|
||||||
const user = OC.getCurrentUser().uid
|
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 New Issue