From b5b38166acb1f5b301fc18c9240cfa9f2aa95a72 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Thu, 2 Sep 2021 22:58:19 +0100 Subject: [PATCH] feature-history: fix potential XSS attack --- modules/feature-history.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/feature-history.php b/modules/feature-history.php index 090ed0f..82ea455 100644 --- a/modules/feature-history.php +++ b/modules/feature-history.php @@ -35,7 +35,7 @@ register_module([ switch($format) { case "html": - $content = "

History for $env->page

\n"; + $content = "

History for $env->page_safe

\n"; if(!empty($pageindex->{$env->page}->history)) { $content .= "\t\t