From cf193092666467cf2df37e198cd4f5bfc67e93ed Mon Sep 17 00:00:00 2001 From: Emanuel Mistretta Date: Mon, 21 Jul 2025 10:57:57 +0200 Subject: [PATCH] replace empty string for module names Replacing ' ' string with _ character for module names since it leads to problems with certain FTP clients. E.g VsCode SimpleFtp extension --- lib/synchronizer.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/synchronizer.php b/lib/synchronizer.php index e644eb1..fe3dba9 100644 --- a/lib/synchronizer.php +++ b/lib/synchronizer.php @@ -301,6 +301,7 @@ protected static function getFilename($name) $name = preg_replace('@[\\\\|:<>?*"\'+]@', '', $name); $name = strtr($name, '[]/', '()-'); + $name = strtr($name, ' ', '_'); return ltrim(rtrim($name, ' .')); }