s3:lib: Do not try to match '.' and '..' directories in is_in_path()
authorAndreas Schneider <asn@samba.org>
Wed, 19 Apr 2023 14:23:10 +0000 (16:23 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 19 Apr 2023 22:30:19 +0000 (22:30 +0000)
commit9eb44306623fc4897b373b04763e475f696ab92d
tree3609e5e6a523d361c3f103a7904bba6d3f0f1a4e
parenta2acbd3f3cff8d1cac63acdead4b7be14a7092b2
s3:lib: Do not try to match '.' and '..' directories in is_in_path()

This fixes setting veto files to '.*' to not list hidden files and
directories starting with a dot.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15360

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Apr 19 22:30:19 UTC 2023 on atb-devel-224
selftest/knownfail.d/veto_files [deleted file]
source3/lib/util.c