From fba25b2cbaa643618d1f794a60a411bb8cd86bcc Mon Sep 17 00:00:00 2001 From: Chris Kankiewicz Date: Mon, 28 Jul 2025 14:08:20 -0700 Subject: [PATCH] Restricted hidden (and app) file matching to exact matches only --- app/src/Factories/FinderFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/Factories/FinderFactory.php b/app/src/Factories/FinderFactory.php index 1c0108e..0b0f016 100644 --- a/app/src/Factories/FinderFactory.php +++ b/app/src/Factories/FinderFactory.php @@ -63,6 +63,6 @@ class FinderFactory ), $this->hiddenFiles->implode(','))); } - return Glob::matchStart($this->pattern, (string) $file->getRealPath()); + return Glob::match($this->pattern, (string) $file->getRealPath()); } }