From f97581eda77e12f73dfe693e19c501070f3a26c8 Mon Sep 17 00:00:00 2001 From: Skylar Kelty Date: Wed, 2 Jul 2014 08:35:24 +0100 Subject: [PATCH] MDL-46227 Fix XSS in scheduled tasks --- admin/tool/task/scheduledtasks.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/tool/task/scheduledtasks.php b/admin/tool/task/scheduledtasks.php index 768d4bc0065..3963aaff2f2 100644 --- a/admin/tool/task/scheduledtasks.php +++ b/admin/tool/task/scheduledtasks.php @@ -104,11 +104,11 @@ if ($mform && ($mform->is_cancelled() || !empty($CFG->preventscheduledtaskchange } else { echo $OUTPUT->header(); - $error = optional_param('error', '', PARAM_RAW); + $error = optional_param('error', '', PARAM_NOTAG); if ($error) { echo $OUTPUT->notification($error, 'notifyerror'); } - $success = optional_param('success', '', PARAM_RAW); + $success = optional_param('success', '', PARAM_NOTAG); if ($success) { echo $OUTPUT->notification($success, 'notifysuccess'); }