-
Bug
-
Resolution: Fixed
-
Blocker
-
2.6.5, 2.7.2
-
MOODLE_26_STABLE, MOODLE_27_STABLE
-
MOODLE_26_STABLE, MOODLE_27_STABLE
-
One bit of the code does
$url = required_param('url', PARAM_URL); // only real urls here
|
// ...
|
$text = download_file_content($url);
|
Unforunately, in the ... bit in the middle, we get this:
$url = new moodle_url('/grade/import/xml/import.php', array('id' => $id,'url' => $url));
|
if ($feedback !== 0) {
|
$url->param('feedback', $feedback);
|
}
|
$PAGE->set_url($url);
|
So that corrupts the URL and it does not work.
- duplicates
-
MDL-35405 Remote file URL for XML import of grades broken?
- Closed
- is a regression caused by
-
MDL-19797 Upgrade gradebook code to new OUTPUT and PAGE APIs
- Closed
- is blocked by
-
MDL-48008 Grade import gives no useful information when an error occurs:
- Closed
- is duplicated by
-
MDL-35405 Remote file URL for XML import of grades broken?
- Closed
- Testing discovered
-
MDL-48047 Grade XML export always includes the course total
- Closed