Code

Fake dn , entries
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 10 Jul 2008 20:38:11 +0000 (20:38 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 10 Jul 2008 20:38:11 +0000 (20:38 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11599 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/acl/class_divListACL.inc

index fee0efe7f9f518c27736e5c539feb571fd2c43bc..a78d1c4e674abfb2083ac42f3df803e1c13e615e 100644 (file)
@@ -170,15 +170,14 @@ class divListACL extends MultiSelectWindow
 
       }else{
 
-        /* Handle non-role ACL entries
-         */
+        /* Handle non-role ACL entries */
         $acl        = $this->ui->get_permissions($acl_entry['dn'],"acl/acl");
         $acl_all    = $this->ui->has_complete_category_acls($acl_entry['dn'],"acl");
 
         /* Acl handling */
         $editlink       = "<a href='?plug=".$_GET['plug']."&amp;id=%s&amp;act=list_edit_entry'>%s</a>";
         $list_left_icon = "<img src='images/lists/locked.png' alt='"._("ACL")."'>";
-        $cn = htmlentities(utf8_decode(LDAP::fix($acl_entry['dn']))); 
+        $cn = htmlentities(preg_replace('/\\\\,/', ',', LDAP::fix($acl_entry['dn']))); 
 
         /* Add actions depending on acls */
         if(preg_match("/r/", $acl)){