adjust tests

This could really use some more tests but this has to suffice for now.
This commit is contained in:
Andreas Gohr
2024-02-27 15:54:14 +01:00
parent 28af4b6776
commit 1eeb87d74f
6 changed files with 321 additions and 410 deletions

View File

@@ -80,7 +80,7 @@ class syntax_plugin_filelist extends SyntaxPlugin
'ftp' => 0
];
foreach ($flags as $flag) {
[$name, $value] = explode('=', $flag);
[$name, $value] = sexplode('=', $flag, 2, '');
$params[trim($name)] = trim(trim($value), '"'); // quotes can be use to keep whitespace
}