by Nigel Hoath.
Bert a quick update.
In our case it appears that Moodle is using a different
Encode function to our simulator.
Our Moodle is using this animal.
_______________________________________
class OAuthUtil {
public static function urlencode_rfc3986($input) {
if (is_array($input)) {
return array_map(array('OAuthUtil', 'urlencode_rfc3986'),
$input);
} else if (is_scalar($input)) {
return str_replace(
'+',
' ',
str_replace('%7E', '~', rawurlencode($input))
);
} else {
return '';
}
}
Research goes on.Cheers Nigel