From: Florent Bruneau Date: Wed, 24 Oct 2007 20:31:40 +0000 (+0200) Subject: Fix a missing urlencode in group auth that leads to some encoding failures X-Git-Tag: xorg/0.9.16~258 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=15dec88f8111e55bd73d4a6684eeaf204a9d5753;p=platal.git Fix a missing urlencode in group auth that leads to some encoding failures Signed-off-by: Florent Bruneau --- diff --git a/modules/auth/auth.inc.php b/modules/auth/auth.inc.php index bcd8b5b..9fd9c69 100644 --- a/modules/auth/auth.inc.php +++ b/modules/auth/auth.inc.php @@ -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)