Merge pull request #34289 from nextcloud/fix/url-encode-webdav-url

Url encode the web dav url for copying
This commit is contained in:
Anna 2022-10-02 14:28:19 +02:00 committed by GitHub
commit 663751cf78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 = [];