mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-19 17:45:27 +02:00
(cp e95036b92) fixes GHSA-p362-cfpj-q55f protect against CSRF on batch manager unit mode
This commit is contained in:
@@ -2862,7 +2862,7 @@ function get_tag_ids($raw_tags, $allow_create=true)
|
||||
elseif ($allow_create)
|
||||
{
|
||||
// we have to create a new tag
|
||||
$tag_ids[] = tag_id_from_tag_name($raw_tag);
|
||||
$tag_ids[] = tag_id_from_tag_name(strip_tags($raw_tag));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user