From: hickert Date: Fri, 20 Jun 2008 10:03:04 +0000 (+0000) Subject: Updated DAK keyring entry encoding: X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c3616896a3b6a0a794a9c52a9d4d5c079589fb44;p=gosa.git Updated DAK keyring entry encoding: git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11395 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/dak/addons/dak/class_dakkeyring.inc b/gosa-plugins/dak/addons/dak/class_dakkeyring.inc index 9901f34d3..4ecd34188 100644 --- a/gosa-plugins/dak/addons/dak/class_dakkeyring.inc +++ b/gosa-plugins/dak/addons/dak/class_dakkeyring.inc @@ -160,7 +160,7 @@ class dakkeyring extends plugin $f1 = array("string" => "","attach" => $s1); $f2 = array("string" => "","attach" => $s2); $f3 = array("string" => "","attach" => $s3); - $f4 = array("string" => xmlentities(utf8_decode($val)), "attach" => $s4); + $f4 = array("string" => htmlentities(utf8_decode($val),ENT_QUOTES,"UTF-8"), "attach" => $s4); $f5 = array("string" => "","attach" => $s5); if($first){ @@ -169,7 +169,7 @@ class dakkeyring extends plugin $f1 = array("string" => $key_id ,"attach" => $s1); $f2 = array("string" => $length ,"attach" => $s2); $f3 = array("string" => $status ,"attach" => $s3); - $f4 = array("string" => xmlentities(utf8_decode($val)), "attach" => $s4); + $f4 = array("string" => htmlentities(utf8_decode($val),ENT_QUOTES,"UTF-8"), "attach" => $s4); $f5 = array("string" => $actions ,"attach" => $s5); } $divlist->AddEntry(array($f0,$f1,$f2,$f3,$f4,$f5)); @@ -186,7 +186,7 @@ class dakkeyring extends plugin $f1 = array("string" => $key_id, "attach" => $s1); $f2 = array("string" => $length, "attach" => $s2); $f3 = array("string" => $status, "attach" => $s3); - $f4 = array("string" => xmlentities(utf8_decode($entry['UID'][0])), "attach" => $s4); + $f4 = array("string" => htmlentities(utf8_decode($entry['UID'][0]),ENT_QUOTES,"UTF-8"), "attach" => $s4); $f5 = array("string" => $actions,"attach" => $s5); $divlist->AddEntry(array($f0,$f1,$f2,$f3,$f4,$f5));