File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
apps/dav/lib/Connector/Sabre Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -500,9 +500,9 @@ public function getNode(): Folder {
500500 public function getNodeForPath ($ path ) {
501501 $ nodePath = ltrim ($ this ->path , '/ ' );
502502 // path may be a partial path, due to caching in Tree.php
503- $ fullPath = str_starts_with ($ path , $ nodePath ) ? $ path :
504- $ nodePath . '/ ' .
505- $ path ;
503+ $ fullPath = str_starts_with ($ path , $ nodePath ) ? $ path
504+ : $ nodePath . '/ '
505+ . $ path ;
506506
507507 try {
508508 [$ destinationDir , $ destinationName ] = \Sabre \Uri \split ($ fullPath );
@@ -517,8 +517,8 @@ public function getNodeForPath($path) {
517517 }
518518
519519 if (!$ info ) {
520- throw new \Sabre \DAV \Exception \NotFound ('File with name ' . $ fullPath .
521- ' could not be located ' );
520+ throw new \Sabre \DAV \Exception \NotFound ('File with name ' . $ fullPath
521+ . ' could not be located ' );
522522 }
523523
524524 if ($ info ->getMimeType () === FileInfo::MIMETYPE_FOLDER ) {
You can’t perform that action at this time.
0 commit comments