]> git.sur5r.net Git - contagged/blobdiff - index.php
Small change in marker handling for more template flexibility
[contagged] / index.php
index 33e7e9c0ce72bf1ec157f4250e7319d99c6c1038..e41237a56767aaa3517a7df551707844fc55b468 100644 (file)
--- a/index.php
+++ b/index.php
@@ -25,7 +25,7 @@
   $list = '';
   if(count($result)==1 && $_REQUEST['search']){
     //only one result on a search -> display page
-    header("Location: entry.php?dn=".$result[0]['dn']);
+    header("Location: entry.php?dn=".rawurlencode($result[0]['dn']));
     exit;
   }elseif(count($result)){
     $keys = array_keys($result);