Skip to content

Commit

Permalink
fix: security #8829
Browse files Browse the repository at this point in the history
  • Loading branch information
fmancardi committed Dec 30, 2019
1 parent d27690c commit 7647a7b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/testcases/tcCompareVersions.php
Expand Up @@ -85,7 +85,8 @@ function init_args()


$args->tcase_id = isset($_REQUEST['testcase_id']) ? $_REQUEST['testcase_id'] : 0;

$args->tcase_id = intval($args->tcase_id);

$key2set = array('compare_selected_versions' => 0,'version_left' => '','version_right' => '');
foreach($key2set as $tk => $value)
{
Expand Down

0 comments on commit 7647a7b

Please sign in to comment.