Skip to content

Commit

Permalink
Merge pull request #1 from touhidshaikh/touhidshaikh-patch-1
Browse files Browse the repository at this point in the history
Update sendfromfile.php
  • Loading branch information
touhidshaikh committed May 17, 2017
2 parents 6430336 + a659bb4 commit 8ea473b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/plugin/feature/sendfromfile/sendfromfile.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@
break;
case 'upload_confirm':
$filename = $_FILES['fncsv']['name'];
//RCE Bug FIX.
$filename = htmlspecialchars($filename);
$fn = $_FILES['fncsv']['tmp_name'];
$fs = (int) $_FILES['fncsv']['size'];
$nodups = ($_REQUEST['fncsv_dup'] ? TRUE : FALSE);
Expand Down

0 comments on commit 8ea473b

Please sign in to comment.