mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 01:24:38 +00:00
system: correctly trim for command line use #4240
This commit is contained in:
parent
caed6e2504
commit
94652ce8e7
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user