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

Commit

Permalink
Fixing renaming of dirs on webdav
Browse files Browse the repository at this point in the history
  • Loading branch information
ghecquet committed Mar 29, 2016
1 parent 998fc8c commit 66b8e02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/plugins/access.webdav/src/Resources/dav.json
Expand Up @@ -69,7 +69,7 @@
"type" : "string",
"location" : "uri"
},
"topath/fullpath" : {
"topath/fulluri" : {
"required" : true,
"type" : "string",
"location" : "header",
Expand Down
1 change: 1 addition & 0 deletions core/src/plugins/core.access/src/Stream/StreamWrapper.php
Expand Up @@ -490,6 +490,7 @@ protected function getParams($path, $mainPrefix = "")
$params[$mainPrefix . 'path/itemname'] = basename($parts['path']);
$params[$mainPrefix . 'path/path'] = dirname($parts['path']);
$params[$mainPrefix . 'path/fullpath'] = rtrim(dirname($parts['path']), '/') . '/' . basename($parts['path']);
$params[$mainPrefix . 'path/fulluri'] = $params[$mainPrefix . 'path/basepath'] . '/' . $params[$mainPrefix . 'path/fullpath'];

return $params;
}
Expand Down

0 comments on commit 66b8e02

Please sign in to comment.