Closed poempelfox closed 9 years ago
I'm not much of a PHP programmer, but it would probably be wise to make sure $cid in diffmap.php only contains sane (integer) values before using it as part of a filename and echoing it back to the user. Possibly something like
$cid = filter_input(INPUT_GET, 'cid', FILTER_SANITIZE_NUMBER_INT);
instead of
$cid=$_GET['cid'];
?
Thanks for the feedback. This is now part of diffmap.php.
I'm not much of a PHP programmer, but it would probably be wise to make sure $cid in diffmap.php only contains sane (integer) values before using it as part of a filename and echoing it back to the user. Possibly something like
instead of
?