diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 94368c712937..e688849b5893 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -1703,7 +1703,8 @@ encodedPath += '/' + encodeURIComponent(section); } }); - return OC.linkToRemoteBase('webdav') + encodedPath; + var uid = OC.getCurrentUser().uid; + return OC.linkToRemoteBase('dav') + '/files/' + uid + encodedPath; }, /**