From: TehPeGaSuS <25697531+TehPeGaSuS@users.noreply.github.com> Date: Fri, 23 Oct 2026 18:38:10 +0000 (+0200) Subject: Write vertical tab as \v in jirafeau_is_extension_allowed X-Git-Tag: 4.8.0~11^2~3 X-Git-Url: https://git.p6c8.net/jirafeau/pcanterino.git/commitdiff_plain/321f117a5857929c80bfb463991bfba4a9f3d730 Write vertical tab as \v in jirafeau_is_extension_allowed --- 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'