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

index 13101e2..ddfe696 100644 (file)
@@ -135,7 +135,7 @@ class LSsearchEntry {
       $this -> cache['actions'] = array (
         array(
           'label' => _('View'),
-          'url' =>'view.php?LSobject='.$this -> LSobject.'&amp;dn='.$this -> dn,
+          'url' =>'view.php?LSobject='.$this -> LSobject.'&amp;dn='.urlencode($this -> dn),
           'action' => 'view'
         )
       );