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

index 9900f38..5d46720 100644 (file)
@@ -41,7 +41,7 @@ if(LSsession :: startLSsession()) {
             if ( LSsession :: canEdit($LSobject,$dn) ) {
               $LSview_actions[] = array(
                 'label' => _('Modify'),
-                'url' =>'modify.php?LSobject='.$LSobject.'&amp;dn='.$dn,
+                'url' =>'modify.php?LSobject='.$LSobject.'&amp;dn='.urlencode($dn),
                 'action' => 'modify'
               );
             }