diff --git a/public_html/includes/class/class.LSsearchEntry.php b/public_html/includes/class/class.LSsearchEntry.php
index d8f5dec9..00e68063 100644
--- a/public_html/includes/class/class.LSsearchEntry.php
+++ b/public_html/includes/class/class.LSsearchEntry.php
@@ -151,7 +151,7 @@ class LSsearchEntry {
if ($this -> LSsearch -> canCopy) {
$this -> cache['actions'][] = array(
'label' => _('Copy'),
- 'url' =>'create.php?LSobject='.$this -> LSobject.'&load='.$this -> dn,
+ 'url' =>'create.php?LSobject='.$this -> LSobject.'&load='.urlencode($this -> dn),
'action' => 'copy'
);
}
@@ -159,7 +159,7 @@ class LSsearchEntry {
if (LSsession :: canRemove($this -> LSobject,$this -> dn)) {
$this -> cache['actions'][] = array (
'label' => _('Delete'),
- 'url' => 'remove.php?LSobject='.$this -> LSobject.'&dn='.$this -> dn,
+ 'url' => 'remove.php?LSobject='.$this -> LSobject.'&dn='.urlencode($this -> dn),
'action' => 'delete'
);
}