Skip to content
Permalink
Browse files Browse the repository at this point in the history
fixes #572, check $_GET['mode'] against hacking attempt
  • Loading branch information
plegall committed Dec 19, 2016
1 parent 5473f05 commit 9dd9295
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions admin/batch_manager.php
Expand Up @@ -593,6 +593,7 @@

if (isset($_GET['mode']))
{
check_input_parameter('mode', $_GET, false, '/^(global|unit)$/');
$page['tab'] = $_GET['mode'];
}
else
Expand Down

0 comments on commit 9dd9295

Please sign in to comment.