diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a22b427..c49c74bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ --- develop --- +* issue: Make HTML escaping behavior explicit across PHP 8 versions * issue#199: Duplicate Partition name errors * issue#250: Fix date filter persistence by validating before shift_span detection * issue#252: hardening: escape device hostname output in syslog view; parameterize alert API functions diff --git a/setup.php b/setup.php index 46d0333d..367a8fa8 100644 --- a/setup.php +++ b/setup.php @@ -1592,7 +1592,9 @@ function syslog_graph_buttons($graph_elements = []) { $host_id = syslog_db_fetch_cell_prepared('SELECT host_id FROM syslog_hosts ' . $sql_where, $sql_params); if ($host_id) { - print "
"; + $url = $config['url_path'] . 'plugins/syslog/syslog.php?tab=syslog&reset=1&host=' . $host_id . '&date1=' . $date1 . '&date2=' . $date2; + + print "
"; } } }