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 customActions links's URL
This commit is contained in:
parent
675f994f1c
commit
093aebd6b9
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ if(LSsession :: startLSsession()) {
|
||||||
if (LSsession :: canExecuteCustomAction($dn,$LSobject,$name)) {
|
if (LSsession :: canExecuteCustomAction($dn,$LSobject,$name)) {
|
||||||
$LSview_actions[] = array (
|
$LSview_actions[] = array (
|
||||||
'label' => ((isset($config['label']))?__($config['label']):__($name)),
|
'label' => ((isset($config['label']))?__($config['label']):__($name)),
|
||||||
'url' => 'custom_action.php?LSobject='.$LSobject.'&dn='.$dn.'&customAction='.$name,
|
'url' => 'custom_action.php?LSobject='.$LSobject.'&dn='.urlencode($dn).'&customAction='.$name,
|
||||||
'action' => ((isset($config['icon']))?$config['icon']:'generate'),
|
'action' => ((isset($config['icon']))?$config['icon']:'generate'),
|
||||||
'class' => 'LScustomActions'.(($config['noConfirmation'])?' LScustomActions_noConfirmation':'')
|
'class' => 'LScustomActions'.(($config['noConfirmation'])?' LScustomActions_noConfirmation':'')
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue