Fix a missing urlencode in group auth that leads to some encoding failures
[platal.git] / 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)