Update version number and add JSON string escape
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
eec4975a0f
commit
815d82f294
@ -2,7 +2,7 @@
|
||||
"name": "nwb/multi-downloader-client",
|
||||
"description": "Client for multi-downloader-service",
|
||||
"type": "library",
|
||||
"version": "0.0.6",
|
||||
"version": "0.0.7",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Nwb\\MultiDownloaderClient\\": "src/"
|
||||
@ -24,4 +24,4 @@
|
||||
"scripts": {
|
||||
"test": "phpunit"
|
||||
}
|
||||
}
|
||||
}
|
@ -125,6 +125,7 @@ class MultiDownloaderClient
|
||||
*/
|
||||
public function htmlForm(): string
|
||||
{
|
||||
$json_string = addslashes(json_encode($this->buildRequest()));
|
||||
ob_start();
|
||||
include __DIR__ . '/htmlForm.php';
|
||||
return ob_get_clean();
|
||||
|
Loading…
Reference in New Issue
Block a user