From 321f117a5857929c80bfb463991bfba4a9f3d730 Mon Sep 17 00:00:00 2001 From: TehPeGaSuS <25697531+TehPeGaSuS@users.noreply.github.com> Date: Fri, 23 Oct 2026 20:38:10 +0200 Subject: [PATCH] Write vertical tab as \v in jirafeau_is_extension_allowed --- lib/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/functions.php b/lib/functions.php index 2d59cd3..3e9155f 100644 --- a/lib/functions.php +++ b/lib/functions.php @@ -242,7 +242,7 @@ function jirafeau_is_extension_allowed($cfg, $filename) } // trailing dots and whitespace are dropped on storage or by the client OS - $filename = strtolower(rtrim($filename, " \t\n\r\0\x0B.")); + $filename = strtolower(rtrim($filename, " \t\n\r\0\v.")); // suffix match so that compound extensions such as 'tar.gz' work too; // 'gz' still covers 'archive.tar.gz' -- 2.43.0