Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added fix from SC22 to check arguments better.

  • Loading branch information...
commit 86fb3c83db00070676ece15706dddb14597fd6fa 1 parent 8fcd89c
moodler authored

Showing 1 changed file with 3 additions and 0 deletions. Show diff stats Hide diff stats

  1. +3 0  mod/quiz/quizfile.php
3  mod/quiz/quizfile.php
@@ -41,6 +41,9 @@
41 41 if (! ($filename = $regs[5])) {
42 42 error("No valid file name supplied");
43 43 }
  44 + if (detect_munged_arguments($relativefilepath)) {
  45 + error("Errors in the supplied file path");
  46 + }
44 47
45 48 //////////////////////////////////////////
46 49 // Info from $pathinfo is now extracted!

0 comments on commit 86fb3c8

Please sign in to comment.
Something went wrong with that request. Please try again.