From 1fd7808b84aead917558328955f88a85ce00f294 Mon Sep 17 00:00:00 2001 From: Josh Date: Fri, 27 Feb 2026 11:49:24 -0500 Subject: [PATCH 1/2] test(Storage): expand file / directory name tests Signed-off-by: Josh --- tests/lib/Files/Storage/Storage.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/lib/Files/Storage/Storage.php b/tests/lib/Files/Storage/Storage.php index 9107d99cd6738..01cd163cc30b3 100644 --- a/tests/lib/Files/Storage/Storage.php +++ b/tests/lib/Files/Storage/Storage.php @@ -116,6 +116,7 @@ public static function fileNameProvider(): array { ['file with space.txt'], ['spéciäl fäile'], ['test single\'quote.txt'], + ['0'], ]; } @@ -127,6 +128,7 @@ public static function directoryProvider(): array { ['folder with space'], ['spéciäl földer'], ['test single\'quote'], + ['0'], ]; } From befcd7477f775ad0054bdb6335dc03075b9fce51 Mon Sep 17 00:00:00 2001 From: Josh Date: Fri, 27 Feb 2026 12:28:57 -0500 Subject: [PATCH 2/2] test(Storage): add some additional tricky file / folder name Signed-off-by: Josh --- tests/lib/Files/Storage/Storage.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/lib/Files/Storage/Storage.php b/tests/lib/Files/Storage/Storage.php index 01cd163cc30b3..16de3c851230e 100644 --- a/tests/lib/Files/Storage/Storage.php +++ b/tests/lib/Files/Storage/Storage.php @@ -117,6 +117,9 @@ public static function fileNameProvider(): array { ['spéciäl fäile'], ['test single\'quote.txt'], ['0'], + ['#'], + ['%'], + ['%20'], ]; } @@ -129,6 +132,9 @@ public static function directoryProvider(): array { ['spéciäl földer'], ['test single\'quote'], ['0'], + ['#'], + ['%'], + ['%20'] ]; }