summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2019-02-14 12:00:47 +0100
committerDaniel Kesselberg <mail@danielkesselberg.de>2019-02-14 12:11:30 +0100
commitb14700c9360b2589d35b20b00bc5b863d7fb8243 (patch)
tree7509b445c89ec6c4b84e3267cf530d8e8907c5b6 /lib/private
parent7404c10666e4ec5283b4a5b2d4c2ffc412b7a64b (diff)
downloadnextcloud-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.php2
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.
];
/**