Permalink
Browse files

Added fix from SC22 to check arguments better.

  • Loading branch information...
1 parent 8fcd89c commit 86fb3c83db00070676ece15706dddb14597fd6fa moodler committed Dec 12, 2004
Showing with 3 additions and 0 deletions.
  1. +3 −0 mod/quiz/quizfile.php
View
3 mod/quiz/quizfile.php
@@ -41,6 +41,9 @@
if (! ($filename = $regs[5])) {
error("No valid file name supplied");
}
+ if (detect_munged_arguments($relativefilepath)) {
+ error("Errors in the supplied file path");
+ }
//////////////////////////////////////////
// Info from $pathinfo is now extracted!

0 comments on commit 86fb3c8

Please sign in to comment.