Skip to content

Commit

Permalink
MDL-50709 groups: Prevent XSS in grouping description
Browse files Browse the repository at this point in the history
  • Loading branch information
John Okely authored and stronk7 committed Sep 8, 2015
1 parent ac470f3 commit ae6b18a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion group/overview.php
Expand Up @@ -206,7 +206,6 @@
echo $OUTPUT->heading($groupings[$gpgid]->formattedname, 3);
$description = file_rewrite_pluginfile_urls($groupings[$gpgid]->description, 'pluginfile.php', $context->id, 'grouping', 'description', $gpgid);
$options = new stdClass;
$options->noclean = true;
$options->overflowdiv = true;
echo $OUTPUT->box(format_text($description, $groupings[$gpgid]->descriptionformat, $options), 'generalbox boxwidthnarrow boxaligncenter');
}
Expand Down

0 comments on commit ae6b18a

Please sign in to comment.