diff --git a/.github/workflows/plugin-ci-workflow.yml b/.github/workflows/plugin-ci-workflow.yml
index 86237dcf..e7107fab 100644
--- a/.github/workflows/plugin-ci-workflow.yml
+++ b/.github/workflows/plugin-ci-workflow.yml
@@ -139,8 +139,12 @@ jobs:
- name: Check PHP version
run: php -v
- - name: Run apt-get update
- run: sudo apt-get update
+ - name: Add the ondrej PHP repository
+ run: |
+ sudo apt-get update
+ sudo apt-get install -y software-properties-common
+ sudo add-apt-repository -y ppa:ondrej/php
+ sudo apt-get update
- name: Install System Dependencies
run: sudo apt-get install -y apache2 snmp snmpd rrdtool fping libapache2-mod-php${{ matrix.php }}
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..0698c453 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 "
";
}
}
}