Fix deletion special char DNs, and refresh tree on delete

This commit is contained in:
Deon George
2011-05-04 00:02:33 +10:00
parent 66e24fb86c
commit 6c93c1fc72
3 changed files with 21 additions and 11 deletions

View File

@@ -82,7 +82,7 @@ if (count($request['template']->getLDAPadd(true))) {
echo "\n\n";
$counter = 0;
printf('<tr class="%s"><td colspan="3" style="text-align: center;"><b>%s</b></td></tr>',$counter%2 ? 'even' : 'odd',$request['template']->getDN());
printf('<tr class="%s"><td colspan="3" style="text-align: center;"><b>%s</b></td></tr>',$counter%2 ? 'even' : 'odd',htmlspecialchars($request['template']->getDN()));
foreach ($request['template']->getLDAPadd(true) as $attribute) {
$counter++;