diff --git a/public_html/view.php b/public_html/view.php
index 5d467208..8bc9268f 100644
--- a/public_html/view.php
+++ b/public_html/view.php
@@ -49,7 +49,7 @@ if(LSsession :: startLSsession()) {
if (LSsession :: canCreate($LSobject)) {
$LSview_actions[] = array(
'label' => _('Copy'),
- 'url' =>'create.php?LSobject='.$LSobject.'&load='.$dn,
+ 'url' =>'create.php?LSobject='.$LSobject.'&load='.urlencode($dn),
'action' => 'copy'
);
}
@@ -57,7 +57,7 @@ if(LSsession :: startLSsession()) {
if (LSsession :: canRemove($LSobject,$dn)) {
$LSview_actions[] = array(
'label' => _('Delete'),
- 'url' => 'remove.php?LSobject='.$LSobject.'&dn='.$dn,
+ 'url' => 'remove.php?LSobject='.$LSobject.'&dn='.urlencode($dn),
'action' => 'delete'
);
}