summaryrefslogtreecommitdiffstats
path: root/apps/files/src/views/Sidebar.vue
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/src/views/Sidebar.vue')
-rw-r--r--apps/files/src/views/Sidebar.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/src/views/Sidebar.vue b/apps/files/src/views/Sidebar.vue
index e5908cd3ab3..a6723d345a1 100644
--- a/apps/files/src/views/Sidebar.vue
+++ b/apps/files/src/views/Sidebar.vue
@@ -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)}`)
},
/**