else {
$LSview_actions[] = array(
'label' => _('View'),
- 'url' =>'view.php?LSobject='.$LSobject.'&dn='.$object -> getDn(),
+ 'url' =>'view.php?LSobject='.$LSobject.'&dn='.urlencode($object -> getDn()),
'action' => 'view'
);
if (LSsession :: canRemove($LSobject,$object -> getDn())) {
$LSview_actions[] = array(
'label' => _('Delete'),
- 'url' => 'remove.php?LSobject='.$LSobject.'&dn='.$object -> getDn(),
+ 'url' => 'remove.php?LSobject='.$LSobject.'&dn='.urlencode($object -> getDn()),
'action' => 'delete'
);
}