From: Anna Larch Date: Tue, 27 Sep 2022 11:46:11 +0000 (+0200) Subject: Url encode the web dav url for copying X-Git-Tag: v26.0.0beta1~650^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=25409cb66ccba194f1ac55aab5984be8b3e0230c;p=nextcloud-server.git Url encode the web dav url for copying Signed-off-by: Anna Larch --- 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 = [];