diff --git a/server/core/config.cc b/server/core/config.cc index d24602d40..15f1bb7c0 100644 --- a/server/core/config.cc +++ b/server/core/config.cc @@ -695,7 +695,7 @@ int config_cb(const char* fpath, const struct stat *sb, int typeflag, struct FTW const char* filename = fpath + ftwbuf->base; const char* dot = strrchr(filename, '.'); - if (dot) // that must have a suffix, + if (dot && *filename != '.') // that have a suffix and are not hidden, { const char* suffix = dot + 1;