From e3e429e2ad0860b1a5fd34b50cebe73fd5966206 Mon Sep 17 00:00:00 2001 From: William Date: Wed, 9 Feb 2022 12:51:30 +0100 Subject: [PATCH] Escape chars --- app/view/pages/teamtable/edit/index.php | 4 ++++ app/view/pages/teamtable/index.php | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/app/view/pages/teamtable/edit/index.php b/app/view/pages/teamtable/edit/index.php index 3f90999..e5f492a 100644 --- a/app/view/pages/teamtable/edit/index.php +++ b/app/view/pages/teamtable/edit/index.php @@ -14,6 +14,10 @@ $value) + { + $row[$key] = htmlspecialchars($row[$key]); + } echo ''; echo "{$row['LagNavn']}"; echo "{$row['Bedrift']}"; diff --git a/app/view/pages/teamtable/index.php b/app/view/pages/teamtable/index.php index e1af4d8..a524026 100644 --- a/app/view/pages/teamtable/index.php +++ b/app/view/pages/teamtable/index.php @@ -13,6 +13,10 @@ $value) + { + $row[$key] = htmlspecialchars($row[$key]); + } echo ''; echo "{$row['LagNavn']}"; echo "{$row['Bedrift']}";