mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-18 08:19:05 +01:00
add urlencode() of object DN in links's URL
This commit is contained in:
parent
89a22de7f9
commit
697369e3ca
1 changed files with 2 additions and 2 deletions
|
@ -102,14 +102,14 @@ if(LSsession :: startLSsession()) {
|
|||
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'
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue