Skip to content

Commit

Permalink
Merge pull request #34380 from nextcloud/backport/34289/stable25
Browse files Browse the repository at this point in the history
[stable25] Url encode the web dav url for copying
  • Loading branch information
blizzz authored Oct 3, 2022
2 parents 46180dd + a2d8bd4 commit 07ac478
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/files/lib/Controller/ViewController.php
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ public function index($dir = '', $view = '', $fileid = null, $fileNotFound = fal
$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 = [];

Expand Down

0 comments on commit 07ac478

Please sign in to comment.