From 85281f9fe44def0d55272d381514a7d2abb168db Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 26 Jun 2006 09:28:52 +0000 Subject: [PATCH] Format snapshot output with htmlentities git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3899 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/class_SnapShotDialog.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/class_SnapShotDialog.inc b/include/class_SnapShotDialog.inc index 9391c1370..7f5a06f37 100755 --- a/include/class_SnapShotDialog.inc +++ b/include/class_SnapShotDialog.inc @@ -111,7 +111,7 @@ class SnapShotDialog extends plugin } $field0 = array("string"=> $time_stamp , "attach"=> "style='vertical-align:top;width:120px;'"); - $field1 = array("string"=> $display_data , "attach"=> ""); + $field1 = array("string"=> htmlentities (utf8_decode($display_data)), "attach"=> ""); $field2 = array("string"=> preg_replace("/%KEY/",base64_encode($entry['dn']),$actions) , "attach"=> "style='border-right:0px;vertical-align:top;width:40px;text-align:right;'"); $DivListSnapShots->AddEntry(array($field0,$field1,$field2)); -- 2.30.2