system: correctly trim for command line use #4240

This commit is contained in:
Franco Fichtner 2021-06-22 11:34:08 +02:00
parent caed6e2504
commit 94652ce8e7

View File

@ -108,7 +108,8 @@ abstract class Base
foreach ($data as $key => $val) {
if (strpos($val, ':') !== false) {
list ($header, $value) = explode(':', $val);
switch (strtolower($header)) {
$value = trim($value);
switch (strtolower(trim($header))) {
case 'cipher':
$cipher = strtolower($value);
break;