]> source.dussan.org Git - nextcloud-server.git/commit
Fix path handling when transferring incoming shares 31097/head
authorVincent Petry <vincent@nextcloud.com>
Thu, 10 Feb 2022 08:50:21 +0000 (09:50 +0100)
committerVincent Petry <vincent@nextcloud.com>
Thu, 10 Feb 2022 08:50:21 +0000 (09:50 +0100)
commit7858fee5b53e640ed04b5ec54034c75e22124fd6
tree497fbe21f58553616074a882b33ba10d8ed5cdff
parente0dc82668fdad768346cf0cf752898ccd74fdf37
Fix path handling when transferring incoming shares

When transferring incoming shares from a guest user without specifying a
path, the $path is empty.
The fix properly handles that situation to avoid looking for shares in a
path with doubled slashes which failed to find shares to transfer.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
apps/files/lib/Service/OwnershipTransferService.php