From 510d8326cb7f5bcd372a78e2661e0c60750cbe68 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 11 May 2010 13:33:22 +0000 Subject: [PATCH] Return HTML valid content git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18373 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../plugins/addons/configViewer/class_commandVerifier.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gosa-core/plugins/addons/configViewer/class_commandVerifier.inc b/gosa-core/plugins/addons/configViewer/class_commandVerifier.inc index be2010253..9de879613 100644 --- a/gosa-core/plugins/addons/configViewer/class_commandVerifier.inc +++ b/gosa-core/plugins/addons/configViewer/class_commandVerifier.inc @@ -50,8 +50,8 @@ class commandVerifier } $code = proc_close($process); - if(!empty($stdout)) $stdout = "
{$stdout}
"; - if(!empty($stderr)) $stderr = "
{$stderr}
"; + if(!empty($stdout)) $stdout = "
".htmlentities($stdout,ENT_COMPAT,'UTF-8')."
"; + if(!empty($stderr)) $stderr = "
".htmlentities($stderr,ENT_COMPAT,'UTF-8')."
"; $output = " -- 2.30.2
Result:$stdout