mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-22 18:09:06 +01:00
Added urlencode() of object's DN in create and remove links's URL
This commit is contained in:
parent
d36cc2d215
commit
89a22de7f9
1 changed files with 2 additions and 2 deletions
|
@ -151,7 +151,7 @@ class LSsearchEntry {
|
|||
if ($this -> LSsearch -> canCopy) {
|
||||
$this -> cache['actions'][] = array(
|
||||
'label' => _('Copy'),
|
||||
'url' =>'create.php?LSobject='.$this -> LSobject.'&load='.$this -> dn,
|
||||
'url' =>'create.php?LSobject='.$this -> LSobject.'&load='.urlencode($this -> dn),
|
||||
'action' => 'copy'
|
||||
);
|
||||
}
|
||||
|
@ -159,7 +159,7 @@ class LSsearchEntry {
|
|||
if (LSsession :: canRemove($this -> LSobject,$this -> dn)) {
|
||||
$this -> cache['actions'][] = array (
|
||||
'label' => _('Delete'),
|
||||
'url' => 'remove.php?LSobject='.$this -> LSobject.'&dn='.$this -> dn,
|
||||
'url' => 'remove.php?LSobject='.$this -> LSobject.'&dn='.urlencode($this -> dn),
|
||||
'action' => 'delete'
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue