Skip to content

Commit b7c4de3

Browse files
ariselsengBackportbot
authored andcommitted
Fix a bug with smb notify having leading slash when it should not
Signed-off-by: Ari Selseng <ari@selseng.net>
1 parent affd0dc commit b7c4de3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/files_external/lib/Command/Notify.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ private function createStorage(StorageConfig $mount) {
155155
}
156156

157157
private function markParentAsOutdated($mountId, $path) {
158-
$parent = dirname($path);
158+
$parent = ltrim(dirname($path), '/');
159159
if ($parent === '.') {
160160
$parent = '';
161161
}

0 commit comments

Comments
 (0)