Editing feedback for earlier attempt - URL incorrect for button (Moodle 3.1)

Re: Editing feedback for earlier attempt - URL incorrect for button (Moodle 3.1)

by Andrew Earley -
Number of replies: 0

I seem to have found the issue.

Within the 'renderer.php' file 'http_build_query' is used to build a section of the URL. This in itself is not the problem and works as intended, however there may be a sanitation process when a new 'moodle_url' is created to remove unwanted characters within the '$urlparams' array. I have changed this to call each value in the array rather than use 'http_build_query' to build part of the URL, this keeps the same information but does not include the unwanted ascii codes and works as intended.