diff options
-rw-r--r-- | source3/smbd/notify.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/notify.c b/source3/smbd/notify.c index 5a517654bf..2d0811bc1c 100644 --- a/source3/smbd/notify.c +++ b/source3/smbd/notify.c @@ -339,6 +339,9 @@ void notify_fname(connection_struct *conn, uint32 action, uint32 filter, { char *fullpath; + if (path[0] == '.' && path[1] == '/') { + path += 2; + } if (asprintf(&fullpath, "%s/%s", conn->connectpath, path) == -1) { DEBUG(0, ("asprintf failed\n")); return; |