Permalink
Browse files

MDL-20931 fixed input validation

  • Loading branch information...
1 parent 847f077 commit 9eed2dc7da449e4db8b1e7b4c0456a15e817dab1 @skodak skodak committed Nov 22, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 course/import/groups/index.php
View
2 course/import/groups/index.php
@@ -50,7 +50,7 @@
require_once($CFG->dirroot.'/lib/uploadlib.php');
$um = new upload_manager('userfile',false,false,null,false,0);
- if ($um->preprocess_files()) {
+ if ($um->preprocess_files() and confirm_sesskey()) {
$filename = $um->files['userfile']['tmp_name'];
//Fix mac/dos newlines

0 comments on commit 9eed2dc

Please sign in to comment.