From 4b954b2e68b1291f993a6b31a70cdd8919de37c5 Mon Sep 17 00:00:00 2001 From: Shish Date: Fri, 5 Jan 2024 15:31:21 +0000 Subject: [PATCH] [cron_uploader] don't try to upload .listing files, see #972 --- ext/cron_uploader/main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/cron_uploader/main.php b/ext/cron_uploader/main.php index 16f688e5..10b0fa2c 100644 --- a/ext/cron_uploader/main.php +++ b/ext/cron_uploader/main.php @@ -482,7 +482,7 @@ class CronUploader extends Extension } private const PARTIAL_DOWNLOAD_EXTENSIONS = ['crdownload','part']; - private const SKIPPABLE_FILES = ['.ds_store','thumbs.db']; + private const SKIPPABLE_FILES = ['.ds_store', 'thumbs.db', 'desktop.ini', '.listing']; private function is_skippable_file(string $path): bool {