diff --git a/public_html/view.php b/public_html/view.php index 8bc9268f..46dcfc2e 100644 --- a/public_html/view.php +++ b/public_html/view.php @@ -69,7 +69,7 @@ if(LSsession :: startLSsession()) { if (LSsession :: canExecuteCustomAction($dn,$LSobject,$name)) { $LSview_actions[] = array ( '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'), 'class' => 'LScustomActions'.(($config['noConfirmation'])?' LScustomActions_noConfirmation':'') );