diff options
author | Anna Larch <anna@nextcloud.com> | 2022-09-27 13:46:11 +0200 |
---|---|---|
committer | backportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com> | 2022-10-02 12:32:25 +0000 |
commit | a2d8bd4c112327082ff599161fa96c6ed053a646 (patch) | |
tree | 17578bbd65ca34d8f85b6520c48d977777cafa06 | |
parent | 115058720a99cec728264047c21bd0c3c2dac550 (diff) | |
download | nextcloud-server-a2d8bd4c112327082ff599161fa96c6ed053a646.tar.gz nextcloud-server-a2d8bd4c112327082ff599161fa96c6ed053a646.zip |
Url encode the web dav url for copying
Signed-off-by: Anna Larch <anna@nextcloud.com>
-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 = []; |