Quantcast
Channel: LTI and Moodle
Viewing all articles
Browse latest Browse all 2848

Re: LTI Error with MediaWiki

$
0
0

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




Viewing all articles
Browse latest Browse all 2848

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>