Skip to content

Commit

Permalink
fixup! Url encode the web dav url for copying
Browse files Browse the repository at this point in the history
  • Loading branch information
miaulalala committed Sep 27, 2022
1 parent b249a09 commit 06bafdd
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/' . urlencode($user)));
$nav->assign('webdav_url', \OCP\Util::linkToRemote('dav/files/' . rawurlencode($user)));

$contentItems = [];

Expand Down

0 comments on commit 06bafdd

Please sign in to comment.