Fix regresion on print link

This commit is contained in:
Laurent Destailleur 2024-01-25 18:02:56 +01:00
parent 088c1606df
commit 4d971a9c33

View File

@ -2164,7 +2164,7 @@ function top_menu($head, $title = '', $target = '', $disablejs = 0, $disablehead
if (isset($_POST) && is_array($_POST)) {
foreach ($_POST as $key => $value) {
$key = preg_replace('/[^a-z0-9_\-\[\]/i', '', $key);
$key = preg_replace('/[^a-z0-9_\.\-\[\]]/i', '', $key);
if (in_array($key, array('action', 'massaction', 'password'))) {
continue;
}