From c7e7ea1ed1288d64addcf182a27f8b9044a9f961 Mon Sep 17 00:00:00 2001 From: Alejandro Gallardo Escobar Date: Wed, 7 Mar 2018 16:24:41 +0100 Subject: [PATCH] Removed unwanted output from the api.php responses --- pandora_console/include/api.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pandora_console/include/api.php b/pandora_console/include/api.php index 1397b70644..8c97df2e87 100644 --- a/pandora_console/include/api.php +++ b/pandora_console/include/api.php @@ -51,6 +51,9 @@ $correctLogin = false; $user_in_db = null; $no_login_msg = ""; +// Clean unwanted output +ob_clean(); + // Special call without checks to retrieve version and build of the Pandora FMS // This info is avalable from the web console without login // Don't change the format, it is parsed by applications