From 25409cb66ccba194f1ac55aab5984be8b3e0230c Mon Sep 17 00:00:00 2001 From: Anna Larch Date: Tue, 27 Sep 2022 13:46:11 +0200 Subject: [PATCH] Url encode the web dav url for copying Signed-off-by: Anna Larch --- apps/files/lib/Controller/ViewController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = []; -- 2.39.5