From f4f298ebf982feb2b2a514fa709d4e61d480f5f9 Mon Sep 17 00:00:00 2001 From: Alejandro Gallardo Escobar Date: Mon, 30 Jul 2018 16:38:18 +0200 Subject: [PATCH] Remove html encoded characters from the product name when returning the info using the API --- pandora_console/include/api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/include/api.php b/pandora_console/include/api.php index 5884aa34dd..1c6f0af77b 100644 --- a/pandora_console/include/api.php +++ b/pandora_console/include/api.php @@ -63,7 +63,7 @@ switch($info) { $config["MR"] = 0; } - echo get_product_name() . ' ' . $pandora_version . ' - ' . $build_version . " MR" . $config["MR"]; + echo io_safe_output(get_product_name()) . ' ' . $pandora_version . ' - ' . $build_version . " MR" . $config["MR"]; exit; }