From: hickert Date: Tue, 11 May 2010 13:33:22 +0000 (+0000) Subject: Return HTML valid content X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=510d8326cb7f5bcd372a78e2661e0c60750cbe68;p=gosa.git Return HTML valid content git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18373 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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 = "
Result:$stdout