Skip to content
Permalink
Browse files

fixes #839, check input parameters on admin/tags.php

  • Loading branch information...
plegall committed Feb 21, 2018
1 parent b6d61a7 commit 02275fe275a3f97710dab75bf4c3f967f428b22d
Showing with 5 additions and 0 deletions.
  1. +5 −0 admin/tags.php
@@ -32,6 +32,11 @@
if (!empty($_POST))
{
check_pwg_token();
check_input_parameter('tags', $_POST, true, PATTERN_ID);
check_input_parameter('selectAction', $_POST, false, '/^(edit|merge|duplicate|delete)$/');
check_input_parameter('edit_list', $_POST, false, '/^\d+(,\d+)*$/');
check_input_parameter('merge_list', $_POST, false, '/^\d+(,\d+)*$/');
check_input_parameter('destination_tag', $_POST, false, PATTERN_ID);
}
// +-----------------------------------------------------------------------+

0 comments on commit 02275fe

Please sign in to comment.
You can’t perform that action at this time.