Fix a missing urlencode in group auth that leads to some encoding failures
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Wed, 24 Oct 2007 20:31:40 +0000 (22:31 +0200)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Wed, 24 Oct 2007 20:31:40 +0000 (22:31 +0200)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
modules/auth/auth.inc.php

index bcd8b5b..9fd9c69 100644 (file)
@@ -23,7 +23,7 @@ function gpex_prepare_param($name, $val, &$to_hash,  $charset)
 {
     $val = iconv('UTF-8', $charset, $val);
     $to_hash .= $val;
-    return '&' . $name . '=' . $val;
+    return '&' . $name . '=' . urlencode($val);
 }
 
 function gpex_make($chlg, $privkey, $datafields, $charset)