diff options
author | Gary Kim <gary@garykim.dev> | 2020-01-08 00:07:10 +0800 |
---|---|---|
committer | Gary Kim <gary@garykim.dev> | 2020-01-08 00:08:45 +0800 |
commit | 409d25ebf3b3d6fc345322c30aee132853038a61 (patch) | |
tree | cf8dc41982178d3c07041ebfdd4dba2cd6ed47d4 /apps/files/src/views | |
parent | e5d3efb99e2d77b30339496285e15d5d00fc9e60 (diff) | |
download | nextcloud-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.vue | 2 |
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)}`) }, /** |