add urldecode() of object DN in GET request
authorBenjamin Renard <brenard@easter-eggs.com>
Thu, 3 May 2012 10:44:46 +0000 (12:44 +0200)
committerBenjamin Renard <brenard@easter-eggs.com>
Thu, 3 May 2012 10:44:46 +0000 (12:44 +0200)
public_html/modify.php

index 644ed1e..08fb4df 100644 (file)
@@ -41,7 +41,7 @@ if(LSsession :: startLSsession()) {
     $dn = $_POST['LSform_objectdn'];
   }
   else if (isset($_GET['dn'])) {
-    $dn = $_GET['dn'];
+    $dn = urldecode($_GET['dn']);
   }
 
   if ((isset($dn)) && (isset($LSobject)) ) {