Skip to content

Commit

Permalink
Fix XSS issue in PR #2714 (#2744)
Browse files Browse the repository at this point in the history
  • Loading branch information
dvz authored and Starpaul20 committed May 15, 2017
1 parent 12d9e3f commit 0fb0cea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc.php
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,7 @@
$all = true;
break;
}
elseif((int)$fid)
elseif(ctype_digit($fid))
{
if(!isset($unview[$fid]))
{
Expand Down

0 comments on commit 0fb0cea

Please sign in to comment.