mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-18 08:19:05 +01:00
Added urlencode() of object's DN in copy and remove links's URL
This commit is contained in:
parent
4a80c35557
commit
675f994f1c
1 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@ if(LSsession :: startLSsession()) {
|
|||
if (LSsession :: canCreate($LSobject)) {
|
||||
$LSview_actions[] = array(
|
||||
'label' => _('Copy'),
|
||||
'url' =>'create.php?LSobject='.$LSobject.'&load='.$dn,
|
||||
'url' =>'create.php?LSobject='.$LSobject.'&load='.urlencode($dn),
|
||||
'action' => 'copy'
|
||||
);
|
||||
}
|
||||
|
@ -57,7 +57,7 @@ if(LSsession :: startLSsession()) {
|
|||
if (LSsession :: canRemove($LSobject,$dn)) {
|
||||
$LSview_actions[] = array(
|
||||
'label' => _('Delete'),
|
||||
'url' => 'remove.php?LSobject='.$LSobject.'&dn='.$dn,
|
||||
'url' => 'remove.php?LSobject='.$LSobject.'&dn='.urlencode($dn),
|
||||
'action' => 'delete'
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue