aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src/views
diff options
context:
space:
mode:
authorGary Kim <gary@garykim.dev>2020-01-08 00:07:10 +0800
committerGary Kim <gary@garykim.dev>2020-01-08 00:08:45 +0800
commit409d25ebf3b3d6fc345322c30aee132853038a61 (patch)
treecf8dc41982178d3c07041ebfdd4dba2cd6ed47d4 /apps/files/src/views
parente5d3efb99e2d77b30339496285e15d5d00fc9e60 (diff)
downloadnextcloud-server-409d25ebf3b3d6fc345322c30aee132853038a61.tar.gz
nextcloud-server-409d25ebf3b3d6fc345322c30aee132853038a61.zip
Encode URI for file sidebar
Signed-off-by: Gary Kim <gary@garykim.dev>
Diffstat (limited to 'apps/files/src/views')
-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)}`)
},
/**