From b14700c9360b2589d35b20b00bc5b863d7fb8243 Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Thu, 14 Feb 2019 12:00:47 +0100 Subject: Use more precise regex Signed-off-by: Daniel Kesselberg --- lib/private/IntegrityCheck/Iterator/ExcludeFileByNameFilterIterator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/private/IntegrityCheck/Iterator/ExcludeFileByNameFilterIterator.php b/lib/private/IntegrityCheck/Iterator/ExcludeFileByNameFilterIterator.php index ca0464d9d5c..26f4a56d15a 100644 --- a/lib/private/IntegrityCheck/Iterator/ExcludeFileByNameFilterIterator.php +++ b/lib/private/IntegrityCheck/Iterator/ExcludeFileByNameFilterIterator.php @@ -53,7 +53,7 @@ class ExcludeFileByNameFilterIterator extends \RecursiveFilterIterator { * @var array */ private $excludedFilenamePatterns = [ - '/^\.webapp-nextcloud-.*/', // Gentoo/Funtoo & derivatives use a tool known as webapp-config to manage wep-apps. + '/^\.webapp-nextcloud-(\d+\.){2}(\d+)(-r\d+)?$/', // Gentoo/Funtoo & derivatives use a tool known as webapp-config to manage wep-apps. ]; /** -- cgit v1.2.3