diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2019-03-01 21:03:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-01 21:03:35 +0100 |
commit | 81601f8c325f0007b3f252b4845b56e1c72ab6b9 (patch) | |
tree | bc7e41673e4c5425cd4d6fa77636d42a1d21c053 | |
parent | 49b104f3df08b453258eb1483173dc0b8c5e022b (diff) | |
parent | f156079a8bbe7e5449f57ab443a6412c075e3b8e (diff) | |
download | nextcloud-server-81601f8c325f0007b3f252b4845b56e1c72ab6b9.tar.gz nextcloud-server-81601f8c325f0007b3f252b4845b56e1c72ab6b9.zip |
Merge pull request #14456 from cowai/remove-leading-slash
Fix a bug with smb notify having leading slash when it should not
-rw-r--r-- | apps/files_external/lib/Command/Notify.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/Command/Notify.php b/apps/files_external/lib/Command/Notify.php index 04748117e27..b859a825c80 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 = ''; } |