Piwigo 2.9.3 breaks Colored Tags plugin #770

Closed
opened 2026-10-05 00:16:44 +02:00 by adam · 0 comments
Owner

The check_input_parameter on $_POST['selectAction'] introduced in aee8fa1f8d was a bit strong :

check_input_parameter('selectAction', $_POST, false, '/^(edit|merge|duplicate|delete)$/');

Plugin Colored Tags use the typetags value, which is perfectly fine, but does not pass the check:

[Hacking attempt] the input parameter "selectAction" is not valid

#1	check_input_parameter admin/tags.php(36)
#2	include admin.php(311)

Let's make this check less strict :-)

The check_input_parameter on $_POST['selectAction'] introduced in aee8fa1f8dbe7d58118501edd2b6b5be5b184ace was a bit strong : `check_input_parameter('selectAction', $_POST, false, '/^(edit|merge|duplicate|delete)$/');` Plugin Colored Tags use the `typetags` value, which is perfectly fine, but does not pass the check: ``` [Hacking attempt] the input parameter "selectAction" is not valid #1 check_input_parameter admin/tags.php(36) #2 include admin.php(311) ``` Let's make this check less strict :-) <!-- github-sync-id:307947750 -->
adam closed this issue 2026-10-05 00:16:44 +02:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#770