<?php
/***************************************************************************
- * Copyright (C) 2003-2007 Polytechnique.org *
+ * Copyright (C) 2003-2008 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
{
$val = iconv('UTF-8', $charset, $val);
$to_hash .= $val;
- return '&' . $name . '=' . $val;
+ return '&' . $name . '=' . urlencode($val);
}
function gpex_make($chlg, $privkey, $datafields, $charset)