Added urlencode() of object's DN in modify link URL

This commit is contained in:
Benjamin Renard 2012-05-03 12:45:46 +02:00
parent 1b73c32ec3
commit 78f53b6d7d

View file

@ -41,7 +41,7 @@ if(LSsession :: startLSsession()) {
if ( LSsession :: canEdit($LSobject,$dn) ) {
$LSview_actions[] = array(
'label' => _('Modify'),
'url' =>'modify.php?LSobject='.$LSobject.'&dn='.$dn,
'url' =>'modify.php?LSobject='.$LSobject.'&dn='.urlencode($dn),
'action' => 'modify'
);
}