Added urlencode() of object's DN in modify link URL
authorBenjamin Renard <brenard@easter-eggs.com>
Thu, 3 May 2012 10:46:01 +0000 (12:46 +0200)
committerBenjamin Renard <brenard@easter-eggs.com>
Thu, 3 May 2012 10:46:01 +0000 (12:46 +0200)
public_html/includes/class/class.LSsearchEntry.php

index ddfe696..d8f5dec 100644 (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.'&amp;dn='.$this -> dn,
+          'url' => 'modify.php?LSobject='.$this -> LSobject.'&amp;dn='.urlencode($this -> dn),
           'action' => 'modify'
         );
       }