Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit 66b8e02

Browse files
committed
Fixing renaming of dirs on webdav
1 parent 998fc8c commit 66b8e02

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

core/src/plugins/access.webdav/src/Resources/dav.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"type" : "string",
7070
"location" : "uri"
7171
},
72-
"topath/fullpath" : {
72+
"topath/fulluri" : {
7373
"required" : true,
7474
"type" : "string",
7575
"location" : "header",

core/src/plugins/core.access/src/Stream/StreamWrapper.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -490,6 +490,7 @@ protected function getParams($path, $mainPrefix = "")
490490
$params[$mainPrefix . 'path/itemname'] = basename($parts['path']);
491491
$params[$mainPrefix . 'path/path'] = dirname($parts['path']);
492492
$params[$mainPrefix . 'path/fullpath'] = rtrim(dirname($parts['path']), '/') . '/' . basename($parts['path']);
493+
$params[$mainPrefix . 'path/fulluri'] = $params[$mainPrefix . 'path/basepath'] . '/' . $params[$mainPrefix . 'path/fullpath'];
493494

494495
return $params;
495496
}

0 commit comments

Comments
 (0)