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",
|
"name": "nwb/multi-downloader-client",
|
||||||
"description": "Client for multi-downloader-service",
|
"description": "Client for multi-downloader-service",
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"version": "0.0.6",
|
"version": "0.0.7",
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
"Nwb\\MultiDownloaderClient\\": "src/"
|
"Nwb\\MultiDownloaderClient\\": "src/"
|
||||||
@ -24,4 +24,4 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "phpunit"
|
"test": "phpunit"
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -125,6 +125,7 @@ class MultiDownloaderClient
|
|||||||
*/
|
*/
|
||||||
public function htmlForm(): string
|
public function htmlForm(): string
|
||||||
{
|
{
|
||||||
|
$json_string = addslashes(json_encode($this->buildRequest()));
|
||||||
ob_start();
|
ob_start();
|
||||||
include __DIR__ . '/htmlForm.php';
|
include __DIR__ . '/htmlForm.php';
|
||||||
return ob_get_clean();
|
return ob_get_clean();
|
||||||
|
Loading…
Reference in New Issue
Block a user