From 81d849fd41482d9228138567552fa80ef9745552 Mon Sep 17 00:00:00 2001 From: moodler Date: Fri, 1 Oct 2004 02:16:05 +0000 Subject: [PATCH] Merged fix from stable --- mod/quiz/quizfile.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.39.5