Added urlencode() of object's DN in links's URL
authorBenjamin Renard <brenard@easter-eggs.com>
Thu, 3 May 2012 10:41:19 +0000 (12:41 +0200)
committerBenjamin Renard <brenard@easter-eggs.com>
Thu, 3 May 2012 10:41:19 +0000 (12:41 +0200)
public_html/includes/class/class.LSrelation.php

index 3601c4f..605fc1c 100644 (file)
@@ -205,7 +205,7 @@ class LSrelation {
                             else {
                               $class=' LSrelation_editable';
                             }
-                            $data['html'].= "<li class='LSrelation'><a href='view.php?LSobject=".$relationConf['LSobject']."&amp;dn=".$o -> getDn()."' class='LSrelation$class' id='".$o -> getDn()."'>".$o -> getDisplayName(NULL,true)."</a></li>\n";
+                            $data['html'].= "<li class='LSrelation'><a href='view.php?LSobject=".$relationConf['LSobject']."&amp;dn=".urlencode($o -> getDn())."' class='LSrelation$class' id='".$o -> getDn()."'>".$o -> getDisplayName(NULL,true)."</a></li>\n";
                           }
                         }
                         else {