]> source.dussan.org Git - nextcloud-server.git/commit
Fix path handling when transferring incoming shares 31204/head
authorVincent Petry <vincent@nextcloud.com>
Thu, 10 Feb 2022 08:50:21 +0000 (09:50 +0100)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Wed, 16 Feb 2022 09:49:44 +0000 (09:49 +0000)
commit51107a7bb52f0d6d158020fe96ccdd94f458106b
tree4a54122fb45fb6b83b87cfcc1ff7bbf98c382984
parentb9a56ee753ce96a6ed9cd3176e3e5cd891db26cd
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