mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
fixes #853, less strict check on user input "selectAction" for tag manager
... for compatibility with plugin Colored Tags (typetags) and maybe other in the future.
This commit is contained in:
+1
-1
@@ -33,7 +33,7 @@ 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('selectAction', $_POST, false, '/^[a-zA-Z0-9_-]+$/');
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user