Fixed wget file format
(cherry picked from commit 0febfd38aa3047555d34f7e125adb3773ee8a2da)
This commit is contained in:
parent
2c4eedbf8b
commit
fb7b4baa32
@ -53,7 +53,7 @@ class WgetRequest extends AbstractRequest
|
||||
$output[] = http_build_query($params);
|
||||
return $output;
|
||||
default:
|
||||
return ["\t$this->body"];
|
||||
return ["\t'$this->body' \ "];
|
||||
}
|
||||
}
|
||||
|
||||
@ -75,7 +75,6 @@ class WgetRequest extends AbstractRequest
|
||||
$this->prepareHeaders(),
|
||||
$this->prepareBody()
|
||||
);
|
||||
$output[] = rtrim(array_pop($output), '\ ');
|
||||
$output[] = "\t'$this->url'";
|
||||
return implode(PHP_EOL, array_merge($output, ['']));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user