diff options
author | Anna Larch <anna@nextcloud.com> | 2022-09-27 13:46:11 +0200 |
---|---|---|
committer | Anna (Rebase PR Action) <miaulalala@users.noreply.github.com> | 2022-10-02 08:46:16 +0000 |
commit | 25409cb66ccba194f1ac55aab5984be8b3e0230c (patch) | |
tree | fdaca999af8bc0026d53ce535c9b199c91652d26 /apps/files/lib | |
parent | 905753be42af7e8c5af304b0d3c93f5d9bcea789 (diff) | |
download | nextcloud-server-25409cb66ccba194f1ac55aab5984be8b3e0230c.tar.gz nextcloud-server-25409cb66ccba194f1ac55aab5984be8b3e0230c.zip |
Url encode the web dav url for copying
Signed-off-by: Anna Larch <anna@nextcloud.com>
Diffstat (limited to 'apps/files/lib')
-rw-r--r-- | apps/files/lib/Controller/ViewController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/lib/Controller/ViewController.php b/apps/files/lib/Controller/ViewController.php index 82f56be9f18..cfbc9afce2b 100644 --- a/apps/files/lib/Controller/ViewController.php +++ b/apps/files/lib/Controller/ViewController.php @@ -266,7 +266,7 @@ class ViewController extends Controller { $nav->assign('quota', $storageInfo['quota']); $nav->assign('usage_relative', $storageInfo['relative']); - $nav->assign('webdav_url', \OCP\Util::linkToRemote('dav/files/' . $user)); + $nav->assign('webdav_url', \OCP\Util::linkToRemote('dav/files/' . rawurlencode($user))); $contentItems = []; |