From: moodler Date: Fri, 1 Oct 2004 02:16:05 +0000 (+0000) Subject: Merged fix from stable X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=81d849fd41482d9228138567552fa80ef9745552;p=moodle.git Merged fix from stable --- diff --git a/mod/quiz/quizfile.php b/mod/quiz/quizfile.php index af1a11be6e..1c8f5f1ec7 100644 --- a/mod/quiz/quizfile.php +++ b/mod/quiz/quizfile.php @@ -118,7 +118,8 @@ header("Content-type: $mimetype"); readfile("$pathname"); } else { - error("Sorry, but the file you are looking for was not found ($pathname)", "course/view.php?id=$courseid"); + error("Sorry, but the file you are looking for was not found (".clean_text($pathname).")", + "course/view.php?id=$courseid"); } exit;