From f156079a8bbe7e5449f57ab443a6412c075e3b8e Mon Sep 17 00:00:00 2001 From: Ari Selseng Date: Fri, 1 Mar 2019 13:55:52 +0100 Subject: [PATCH] Fix a bug with smb notify having leading slash when it should not Signed-off-by: Ari Selseng --- apps/files_external/lib/Command/Notify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files_external/lib/Command/Notify.php b/apps/files_external/lib/Command/Notify.php index 04748117e2..b859a825c8 100644 --- a/apps/files_external/lib/Command/Notify.php +++ b/apps/files_external/lib/Command/Notify.php @@ -155,7 +155,7 @@ class Notify extends Base { } private function markParentAsOutdated($mountId, $path) { - $parent = dirname($path); + $parent = ltrim(dirname($path), '/'); if ($parent === '.') { $parent = ''; }