diff --git a/public_html/includes/class/class.LSsearchEntry.php b/public_html/includes/class/class.LSsearchEntry.php
index 13101e24..ddfe696a 100644
--- a/public_html/includes/class/class.LSsearchEntry.php
+++ b/public_html/includes/class/class.LSsearchEntry.php
@@ -135,7 +135,7 @@ class LSsearchEntry {
$this -> cache['actions'] = array (
array(
'label' => _('View'),
- 'url' =>'view.php?LSobject='.$this -> LSobject.'&dn='.$this -> dn,
+ 'url' =>'view.php?LSobject='.$this -> LSobject.'&dn='.urlencode($this -> dn),
'action' => 'view'
)
);