From e32439cc4c35d88f4ff4c910fae4ec4ff23202fb Mon Sep 17 00:00:00 2001 From: Marcus Hill Date: Mon, 2 Jan 2023 15:24:30 +0000 Subject: [PATCH] Escape potential HTML from ticket fields --- portal/index.php | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/portal/index.php b/portal/index.php index 50f5858c..9f20d98e 100644 --- a/portal/index.php +++ b/portal/index.php @@ -86,11 +86,17 @@ $total_tickets = $row['total_tickets']; "; - echo " $ticket[ticket_prefix]$ticket[ticket_number]"; - echo " $ticket[ticket_subject]"; - echo "$ticket[ticket_status]"; + echo " $ticket_prefix$ticket_number"; + echo " $ticket_subject"; + echo "$ticket_status"; echo ""; } ?>