Skip to content

Commit

Permalink
MDL-24290, REPOSITORY revert previous changes on urlencode
Browse files Browse the repository at this point in the history
  • Loading branch information
Dongsheng Cai committed Oct 4, 2010
1 parent 8cc2bcf commit ffdd6d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repository/upload/lib.php
Expand Up @@ -80,7 +80,7 @@ public function upload($saveas_filename, $maxbytes) {
}

if (empty($saveas_filename)) {
$record->filename = clean_param(urldecode($_FILES[$elname]['name']), PARAM_FILE);
$record->filename = clean_param($_FILES[$elname]['name'], PARAM_FILE);
} else {
$record->filename = $saveas_filename;
}
Expand Down

0 comments on commit ffdd6d1

Please sign in to comment.