Skip to content

Commit

Permalink
Merge pull request #971 from ranjit-git/ranjit-git-patch-1
Browse files Browse the repository at this point in the history
Fix xss
  • Loading branch information
ignacionelson committed Jul 26, 2021
2 parents 01dd419 + 6bb08b0 commit 0a30d00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/Classes/Download.php
Expand Up @@ -52,7 +52,7 @@ public function returnFilesIds($file_ids)
if (current_role_in($this->check_level)) {
$file_list = array();
foreach($file_ids as $key => $data) {
$file_list[] = $data['value'];
$file_list[] = int($data['value']); //file-id must be int
}
ob_clean();
flush();
Expand Down

0 comments on commit 0a30d00

Please sign in to comment.