Code

Format snapshot output with htmlentities
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 26 Jun 2006 09:28:52 +0000 (09:28 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 26 Jun 2006 09:28:52 +0000 (09:28 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3899 594d385d-05f5-0310-b6e9-bd551577e9d8

include/class_SnapShotDialog.inc

index 9391c1370493078d02ab910b7c10d2ec6ba108dc..7f5a06f376b8c4d0c15875d2935c8915eb9ab75b 100755 (executable)
@@ -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));