diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2019-02-14 12:00:47 +0100 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2019-02-14 12:11:30 +0100 |
commit | b14700c9360b2589d35b20b00bc5b863d7fb8243 (patch) | |
tree | 7509b445c89ec6c4b84e3267cf530d8e8907c5b6 /lib/private | |
parent | 7404c10666e4ec5283b4a5b2d4c2ffc412b7a64b (diff) | |
download | nextcloud-server-b14700c9360b2589d35b20b00bc5b863d7fb8243.tar.gz nextcloud-server-b14700c9360b2589d35b20b00bc5b863d7fb8243.zip |
Use more precise regex
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/IntegrityCheck/Iterator/ExcludeFileByNameFilterIterator.php | 2 |
1 files changed, 1 insertions, 1 deletions
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. ]; /** |