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

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

View file

@ -143,7 +143,7 @@ class LSsearchEntry {
if (LSsession :: canEdit($this -> LSobject,$this -> dn)) {
$this -> cache['actions'][]=array(
'label' => _('Modify'),
'url' => 'modify.php?LSobject='.$this -> LSobject.'&dn='.$this -> dn,
'url' => 'modify.php?LSobject='.$this -> LSobject.'&dn='.urlencode($this -> dn),
'action' => 'modify'
);
}